Unverified Commit 93a6e6d4 authored by Nick Draper's avatar Nick Draper Committed by GitHub
Browse files

Merge pull request #28239 from mantidproject/28200_replace_Catalog_header_guards_with_pragma_once

Remove all header guards in Crystal and replace with pragma once
parents 56a2ecc7 a554bdfc
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_ADDPEAKHKL_H_
#define MANTID_CRYSTAL_ADDPEAKHKL_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -32,5 +31,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_ADDPEAKHKL_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_ANVREDCORRECTION_H_
#define MANTID_CRYSTAL_ANVREDCORRECTION_H_
#pragma once
//----------------------------------------------------------------------
// Includes
......@@ -130,5 +129,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_ANVREDCORRECTION_H_*/
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef BACKGROUNDSTRATEGY_H_
#define BACKGROUNDSTRATEGY_H_
#pragma once
namespace Mantid {
namespace API {
......@@ -24,5 +23,4 @@ public:
virtual ~BackgroundStrategy() = default;
};
} // namespace Crystal
} // namespace Mantid
#endif /* BACKGROUNDSTRATEGY_H_ */
} // namespace Mantid
\ No newline at end of file
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CALCULATEPEAKSHKL_H_
#define MANTID_CRYSTAL_CALCULATEPEAKSHKL_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -39,5 +38,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CALCULATEPEAKSHKL_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CALCULATEUMATRIX_H_
#define MANTID_CRYSTAL_CALCULATEUMATRIX_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -44,5 +43,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CALCULATEUMATRIX_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CALIBRATIONHELPERS_H_
#define MANTID_CRYSTAL_CALIBRATIONHELPERS_H_
#pragma once
#include "MantidGeometry/Instrument.h"
......@@ -35,5 +34,3 @@ adjustBankPositionsAndSizes(const std::vector<std::string> &bankNames,
} // namespace CalibrationHelpers
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CALIBRATIONHELPERS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CENTROIDPEAKS_H_
#define MANTID_CRYSTAL_CENTROIDPEAKS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidDataObjects/EventWorkspace.h"
......@@ -59,5 +58,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CENTROIDPEAKS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CLEARUB_H_
#define MANTID_CRYSTAL_CLEARUB_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -48,5 +47,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CLEARUB_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CLUSTER_H_
#define MANTID_CRYSTAL_CLUSTER_H_
#pragma once
#include "MantidCrystal/DisjointElement.h"
#include "MantidCrystal/ICluster.h"
......@@ -76,5 +75,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CLUSTER_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CLUSTERREGISTER_H_
#define MANTID_CRYSTAL_CLUSTERREGISTER_H_
#pragma once
#include "MantidCrystal/DisjointElement.h"
#include "MantidKernel/System.h"
......@@ -52,5 +51,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CLUSTERREGISTER_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_COMBINEPEAKSWORKSPACES_H_
#define MANTID_CRYSTAL_COMBINEPEAKSWORKSPACES_H_
#pragma once
#include "MantidAPI/Algorithm.h"
......@@ -43,5 +42,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_COMBINEPEAKSWORKSPACES_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_COMPOSITECLUSTER_H_
#define MANTID_CRYSTAL_COMPOSITECLUSTER_H_
#pragma once
#include "MantidCrystal/ICluster.h"
#include "MantidKernel/System.h"
......@@ -72,5 +71,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_COMPOSITECLUSTER_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_CONNECTEDCOMPONENTLABELING_H_
#define MANTID_CRYSTAL_CONNECTEDCOMPONENTLABELING_H_
#pragma once
#include "MantidAPI/IMDHistoWorkspace_fwd.h"
#include "MantidCrystal/DisjointElement.h"
......@@ -92,5 +91,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_CONNECTEDCOMPONENTLABELING_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_COUNTREFLECTIONS_H_
#define MANTID_CRYSTAL_COUNTREFLECTIONS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidCrystal/PeakStatisticsTools.h"
......@@ -44,5 +43,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_COUNTREFLECTIONS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_DIFFPEAKSWORKSPACES_H_
#define MANTID_CRYSTAL_DIFFPEAKSWORKSPACES_H_
#pragma once
#include "MantidAPI/Algorithm.h"
......@@ -41,5 +40,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_DIFFPEAKSWORKSPACES_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_DISJOINTELEMENT_H_
#define MANTID_CRYSTAL_DISJOINTELEMENT_H_
#pragma once
#include "MantidKernel/System.h"
......@@ -69,5 +68,3 @@ void unionElements(DisjointElement *a, DisjointElement *b);
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_DISJOINTELEMENT_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_FILTERPEAKS_H_
#define MANTID_CRYSTAL_FILTERPEAKS_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidAPI/IPeaksWorkspace.h"
......@@ -76,5 +75,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_FILTERPEAKS_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_FINDCLUSTERFACES_H_
#define MANTID_CRYSTAL_FINDCLUSTERFACES_H_
#pragma once
#include "MantidAPI/Algorithm.h"
#include "MantidKernel/System.h"
......@@ -37,5 +36,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_FINDCLUSTERFACES_H_ */
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_ALGORITHMS_FINDSXPEAKS_H_
#define MANTID_ALGORITHMS_FINDSXPEAKS_H_
#pragma once
//----------------------------------------------------------------------
// Includes
......@@ -112,5 +111,3 @@ private:
} // namespace Crystal
} // namespace Mantid
#endif /*MANTID_ALGORITHMS_FindSXPeaks_H_*/
......@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef MANTID_CRYSTAL_FINDSXPEAKSHELPER_H_
#define MANTID_CRYSTAL_FINDSXPEAKSHELPER_H_
#pragma once
#include "MantidAPI/SpectrumInfo.h"
#include "MantidHistogramData/HistogramX.h"
......@@ -296,5 +295,3 @@ private:
} // namespace FindSXPeaksHelper
} // namespace Crystal
} // namespace Mantid
#endif /* MANTID_CRYSTAL_FINDSXPEAKSHELPER_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