Unverified Commit 5a5a4730 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Merge pull request #28234 from mantidproject/28200_replace_Beamline_header_guards_with_pragma_once

Remove all header guards in Beamline and replace with pragma once
parents b8413b92 e1db7b0c
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_COMPONENTINFO_H_
#define MANTID_BEAMLINE_COMPONENTINFO_H_
#pragma once
#include "MantidBeamline/ComponentType.h"
#include "MantidBeamline/DllConfig.h"
......@@ -183,5 +182,3 @@ private:
};
} // namespace Beamline
} // namespace Mantid
#endif /* MANTID_BEAMLINE_COMPONENTINFO_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef COMPONENTTYPE_H
#define COMPONENTTYPE_H
#pragma once
namespace Mantid {
namespace Beamline {
......@@ -21,4 +20,3 @@ enum class ComponentType {
};
}
} // namespace Mantid
#endif // COMPONENTTYPE_H
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_DETECTORINFO_H_
#define MANTID_BEAMLINE_DETECTORINFO_H_
#pragma once
#include "MantidBeamline/DllConfig.h"
#include "MantidKernel/cow_ptr.h"
......@@ -222,5 +221,3 @@ inline bool DetectorInfo::hasMaskedDetectors() const {
} // namespace Beamline
} // namespace Mantid
#endif /* MANTID_BEAMLINE_DETECTORINFO_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_SPECTRUMINFO_H_
#define MANTID_BEAMLINE_SPECTRUMINFO_H_
#pragma once
#include "MantidBeamline/DllConfig.h"
#include "MantidKernel/cow_ptr.h"
......@@ -59,5 +58,3 @@ private:
} // namespace Beamline
} // namespace Mantid
#endif /* MANTID_BEAMLINE_SPECTRUMINFO_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_COMPONENTINFOTEST_H_
#define MANTID_BEAMLINE_COMPONENTINFOTEST_H_
#pragma once
#include <cxxtest/TestSuite.h>
......@@ -1382,4 +1381,3 @@ public:
TS_ASSERT(!d.isEquivalent(f));
}
};
#endif /* MANTID_BEAMLINE_COMPONENTINFOTEST_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_DETECTORINFOTEST_H_
#define MANTID_BEAMLINE_DETECTORINFOTEST_H_
#pragma once
#include <cxxtest/TestSuite.h>
......@@ -290,5 +289,3 @@ public:
(std::vector<std::pair<int64_t, int64_t>>{{0, 1}}));
}
};
#endif /* MANTID_BEAMLINE_DETECTORINFOTEST_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_BEAMLINE_SPECTRUMINFOTEST_H_
#define MANTID_BEAMLINE_SPECTRUMINFOTEST_H_
#pragma once
#include <cxxtest/TestSuite.h>
......@@ -109,5 +108,3 @@ public:
}
}
};
#endif /* MANTID_BEAMLINE_SPECTRUMINFOTEST_H_ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment