From 123a631c2066b9afe896ca03a228047d1d8f4637 Mon Sep 17 00:00:00 2001 From: Pete Peterson Date: Fri, 20 Dec 2024 16:33:02 -0500 Subject: [PATCH] Remove unused MantidKernel/System.h import --- Framework/API/src/BoxController.cpp | 1 - Framework/API/src/BoxControllerSettingsAlgorithm.cpp | 2 +- Framework/API/src/CoordTransform.cpp | 1 - Framework/API/src/DataProcessorAlgorithm.cpp | 1 - Framework/API/src/EnabledWhenWorkspaceIsType.cpp | 1 - Framework/API/src/IEventList.cpp | 1 - Framework/API/src/IMDHistoWorkspace.cpp | 2 +- Framework/API/src/ISpectrum.cpp | 2 +- Framework/API/src/MDGeometry.cpp | 2 +- Framework/API/src/MatrixWorkspaceMDIterator.cpp | 2 +- Framework/API/src/MultipleExperimentInfos.cpp | 1 - Framework/API/src/MultipleFileProperty.cpp | 1 - Framework/Algorithms/src/AddLogDerivative.cpp | 2 +- Framework/Algorithms/src/AddPeak.cpp | 1 - Framework/Algorithms/src/ChangePulsetime.cpp | 1 - Framework/Algorithms/src/ChangePulsetime2.cpp | 1 - Framework/Algorithms/src/ChangeTimeZero.cpp | 2 +- Framework/Algorithms/src/ConvertToEventWorkspace.cpp | 1 - Framework/Algorithms/src/CreateGroupingWorkspace.cpp | 2 +- Framework/Algorithms/src/CreatePeaksWorkspace.cpp | 1 - Framework/Algorithms/src/ExportTimeSeriesLog.cpp | 2 +- Framework/Algorithms/src/FilterEvents.cpp | 2 +- Framework/Algorithms/src/GenerateIPythonNotebook.cpp | 1 - Framework/Algorithms/src/GeneratePythonScript.cpp | 1 - Framework/Algorithms/src/MaskBinsFromTable.cpp | 1 - Framework/Algorithms/src/RayTracerTester.cpp | 1 - Framework/Algorithms/src/ResetNegatives.cpp | 1 - Framework/Algorithms/src/ResizeRectangularDetector.cpp | 1 - Framework/Algorithms/src/ShiftLogTime.cpp | 2 +- Framework/Algorithms/src/SignalOverError.cpp | 1 - Framework/Algorithms/src/SortXAxis.cpp | 1 - Framework/Algorithms/src/UnaryOperation.cpp | 1 + Framework/Algorithms/src/WeightingStrategy.cpp | 1 - Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp | 2 +- .../src/FuncMinimizers/LevenbergMarquardtMinimizer.cpp | 1 - Framework/CurveFitting/src/Functions/BivariateNormal.cpp | 6 +++--- Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp | 1 - Framework/CurveFitting/src/Functions/FlatBackground.cpp | 1 - Framework/CurveFitting/src/Functions/ProcessBackground.cpp | 1 - .../src/Functions/ThermalNeutronBk2BkExpAlpha.cpp | 1 - .../src/Functions/ThermalNeutronBk2BkExpBeta.cpp | 1 - .../src/Functions/ThermalNeutronBk2BkExpSigma.cpp | 1 - .../src/Functions/ThermalNeutronDtoTOFFunction.cpp | 1 - Framework/DataHandling/src/LoadCalFile.cpp | 2 +- Framework/DataHandling/src/LoadDNSEvent.cpp | 1 - Framework/DataHandling/src/LoadDetectorsGroupingFile.cpp | 2 +- Framework/DataHandling/src/LoadEventPreNexus2.cpp | 1 - Framework/DataHandling/src/LoadMask.cpp | 2 +- Framework/DataHandling/src/LoadPreNexus.cpp | 2 +- Framework/DataHandling/src/ModifyDetectorDotDatFile.cpp | 1 - Framework/DataHandling/src/SNSAppendGeometryToNexus.cpp | 2 +- Framework/DataHandling/src/SaveCalFile.cpp | 1 - Framework/DataHandling/src/SaveDaveGrp.cpp | 1 - Framework/DataHandling/src/SaveDetectorsGrouping.cpp | 1 - Framework/DataHandling/src/SaveDspacemap.cpp | 1 - Framework/DataHandling/src/SaveIsawDetCal.cpp | 2 +- Framework/DataHandling/src/SaveMask.cpp | 1 - Framework/DataObjects/src/CoordTransformAffine.cpp | 2 +- Framework/DataObjects/src/CoordTransformDistance.cpp | 1 - Framework/DataObjects/src/EventWorkspaceMRU.cpp | 1 - Framework/DataObjects/src/GroupingWorkspace.cpp | 2 +- Framework/DataObjects/src/MDHistoWorkspaceIterator.cpp | 2 +- Framework/DataObjects/src/MDLeanEvent.cpp | 1 - Framework/DataObjects/src/MaskWorkspace.cpp | 4 +--- Framework/DataObjects/src/OffsetsWorkspace.cpp | 2 +- Framework/DataObjects/src/PeakColumn.cpp | 1 - Framework/Geometry/src/Crystal/PointGroup.cpp | 1 - Framework/Geometry/src/Instrument/GridDetectorPixel.cpp | 1 - Framework/Geometry/src/MDGeometry/MDBoxImplicitFunction.cpp | 1 - Framework/Geometry/src/MDGeometry/MDImplicitFunction.cpp | 1 - Framework/Geometry/src/MDGeometry/MDPlane.cpp | 1 - Framework/Kernel/src/ConfigObserver.cpp | 1 - Framework/Kernel/src/ConfigService.cpp | 1 - Framework/Kernel/src/DateTimeValidator.cpp | 1 - Framework/Kernel/src/FloatingPointComparison.cpp | 1 - Framework/Kernel/src/Memory.cpp | 1 - Framework/LiveData/src/ISIS/DAE/idc.cpp | 2 +- Framework/LiveData/src/ISIS/DAE/isisds_command.cpp | 2 +- Framework/MDAlgorithms/src/BinMD.cpp | 1 - Framework/MDAlgorithms/src/BinaryOperationMD.cpp | 1 - Framework/MDAlgorithms/src/BooleanBinaryOperationMD.cpp | 1 - Framework/MDAlgorithms/src/CentroidPeaksMD.cpp | 1 - Framework/MDAlgorithms/src/CentroidPeaksMD2.cpp | 1 - Framework/MDAlgorithms/src/ChangeQConvention.cpp | 1 - Framework/MDAlgorithms/src/CloneMDWorkspace.cpp | 1 - Framework/MDAlgorithms/src/CompareMDWorkspaces.cpp | 1 - Framework/MDAlgorithms/src/ConvertToDetectorFaceMD.cpp | 1 - .../MDAlgorithms/src/ConvertToDiffractionMDWorkspace.cpp | 1 - Framework/MDAlgorithms/src/CreateMDWorkspace.cpp | 1 - Framework/MDAlgorithms/src/CutMD.cpp | 1 - Framework/MDAlgorithms/src/DivideMD.cpp | 1 - Framework/MDAlgorithms/src/EqualToMD.cpp | 1 - Framework/MDAlgorithms/src/ExponentialMD.cpp | 1 - Framework/MDAlgorithms/src/GreaterThanMD.cpp | 1 - Framework/MDAlgorithms/src/IntegratePeaksMD.cpp | 1 - Framework/MDAlgorithms/src/IntegratePeaksMD2.cpp | 1 - Framework/MDAlgorithms/src/LessThanMD.cpp | 1 - Framework/MDAlgorithms/src/LogarithmMD.cpp | 1 - Framework/MDAlgorithms/src/MinusMD.cpp | 1 - Framework/MDAlgorithms/src/MultiplyMD.cpp | 1 - Framework/MDAlgorithms/src/NotMD.cpp | 1 - Framework/MDAlgorithms/src/OrMD.cpp | 1 - Framework/MDAlgorithms/src/PlusMD.cpp | 1 - Framework/MDAlgorithms/src/PowerMD.cpp | 1 - Framework/MDAlgorithms/src/SaveMD.cpp | 1 - Framework/MDAlgorithms/src/SaveMD2.cpp | 1 - Framework/MDAlgorithms/src/SaveZODS.cpp | 1 - Framework/MDAlgorithms/src/SetMDUsingMask.cpp | 1 - Framework/MDAlgorithms/src/SlicingAlgorithm.cpp | 1 - Framework/MDAlgorithms/src/TransformMD.cpp | 1 - Framework/MDAlgorithms/src/UnaryOperationMD.cpp | 1 - Framework/MDAlgorithms/src/WeightedMeanMD.cpp | 1 - Framework/MDAlgorithms/src/XorMD.cpp | 1 - Framework/Muon/src/ApplyDeadTimeCorr.cpp | 1 - Framework/Muon/src/MuonGroupingCounts.cpp | 1 - Framework/Muon/src/MuonPreProcess.cpp | 1 - Framework/Nexus/src/H5Util.cpp | 1 - Framework/Nexus/src/MuonNexusReader.cpp | 1 - Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp | 1 - Framework/WorkflowAlgorithms/src/DgsPreprocessData.cpp | 1 - Framework/WorkflowAlgorithms/src/DgsReduction.cpp | 1 - qt/widgets/common/src/AlgorithmSelectorWidget.cpp | 1 - qt/widgets/common/src/BoolPropertyWidget.cpp | 1 - qt/widgets/common/src/FilePropertyWidget.cpp | 2 +- qt/widgets/common/src/ListPropertyWidget.cpp | 2 +- qt/widgets/common/src/OptionsPropertyWidget.cpp | 2 +- qt/widgets/common/src/PropertyWidget.cpp | 2 +- qt/widgets/common/src/SyncedCheckboxes.cpp | 1 - qt/widgets/common/src/TextPropertyWidget.cpp | 2 +- 129 files changed, 34 insertions(+), 132 deletions(-) diff --git a/Framework/API/src/BoxController.cpp b/Framework/API/src/BoxController.cpp index 6721ce5e6f52b..872e75d1ef3b4 100644 --- a/Framework/API/src/BoxController.cpp +++ b/Framework/API/src/BoxController.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/BoxController.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include "MantidKernel/VectorHelper.h" #include diff --git a/Framework/API/src/BoxControllerSettingsAlgorithm.cpp b/Framework/API/src/BoxControllerSettingsAlgorithm.cpp index bf9a8d476d49a..1167d3b349a87 100644 --- a/Framework/API/src/BoxControllerSettingsAlgorithm.cpp +++ b/Framework/API/src/BoxControllerSettingsAlgorithm.cpp @@ -12,8 +12,8 @@ #include "MantidKernel/ArrayProperty.h" #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/StringTokenizer.h" + #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; diff --git a/Framework/API/src/CoordTransform.cpp b/Framework/API/src/CoordTransform.cpp index 002d9f17ff979..a6cae7b8e10b0 100644 --- a/Framework/API/src/CoordTransform.cpp +++ b/Framework/API/src/CoordTransform.cpp @@ -8,7 +8,6 @@ #include "MantidGeometry/MDGeometry/MDTypes.h" #include "MantidKernel/Exception.h" #include "MantidKernel/Matrix.h" -#include "MantidKernel/System.h" #include "MantidKernel/VMD.h" #include #include diff --git a/Framework/API/src/DataProcessorAlgorithm.cpp b/Framework/API/src/DataProcessorAlgorithm.cpp index a28112f0b70fc..17ae4dcf71146 100644 --- a/Framework/API/src/DataProcessorAlgorithm.cpp +++ b/Framework/API/src/DataProcessorAlgorithm.cpp @@ -16,7 +16,6 @@ #include "MantidKernel/FacilityInfo.h" #include "MantidKernel/PropertyManager.h" #include "MantidKernel/PropertyManagerDataService.h" -#include "MantidKernel/System.h" #include "Poco/Path.h" #include #include diff --git a/Framework/API/src/EnabledWhenWorkspaceIsType.cpp b/Framework/API/src/EnabledWhenWorkspaceIsType.cpp index 6e4b9bcabe3de..8177fe9e91a7b 100644 --- a/Framework/API/src/EnabledWhenWorkspaceIsType.cpp +++ b/Framework/API/src/EnabledWhenWorkspaceIsType.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidAPI/EnabledWhenWorkspaceIsType.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/API/src/IEventList.cpp b/Framework/API/src/IEventList.cpp index adffbe04db0ed..62ec50f3d3c17 100644 --- a/Framework/API/src/IEventList.cpp +++ b/Framework/API/src/IEventList.cpp @@ -5,4 +5,3 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidAPI/IEventList.h" -#include "MantidKernel/System.h" diff --git a/Framework/API/src/IMDHistoWorkspace.cpp b/Framework/API/src/IMDHistoWorkspace.cpp index 041b06bd78e12..1fd30fafa2f1b 100644 --- a/Framework/API/src/IMDHistoWorkspace.cpp +++ b/Framework/API/src/IMDHistoWorkspace.cpp @@ -8,8 +8,8 @@ #include "MantidAPI/ExperimentInfo.h" #include "MantidAPI/Sample.h" #include "MantidKernel/Exception.h" + #include "MantidKernel/IPropertyManager.h" -#include "MantidKernel/System.h" #include diff --git a/Framework/API/src/ISpectrum.cpp b/Framework/API/src/ISpectrum.cpp index 9c03be7de7ac0..e3b23617f7ef4 100644 --- a/Framework/API/src/ISpectrum.cpp +++ b/Framework/API/src/ISpectrum.cpp @@ -6,8 +6,8 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidAPI/ISpectrum.h" #include "MantidAPI/MatrixWorkspace.h" + #include "MantidHistogramData/Histogram.h" -#include "MantidKernel/System.h" namespace Mantid::API { diff --git a/Framework/API/src/MDGeometry.cpp b/Framework/API/src/MDGeometry.cpp index 9fb675969b51a..7bd1023eb96f1 100644 --- a/Framework/API/src/MDGeometry.cpp +++ b/Framework/API/src/MDGeometry.cpp @@ -7,10 +7,10 @@ #include "MantidAPI/MDGeometry.h" #include "MantidAPI/AnalysisDataService.h" #include "MantidAPI/CoordTransform.h" + #include "MantidGeometry/MDGeometry/IMDDimension.h" #include "MantidGeometry/MDGeometry/MDGeometryXMLBuilder.h" #include "MantidGeometry/MDGeometry/MDHistoDimension.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/API/src/MatrixWorkspaceMDIterator.cpp b/Framework/API/src/MatrixWorkspaceMDIterator.cpp index 8073f3dd78b67..4a7f56bab8882 100644 --- a/Framework/API/src/MatrixWorkspaceMDIterator.cpp +++ b/Framework/API/src/MatrixWorkspaceMDIterator.cpp @@ -8,8 +8,8 @@ #include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/NumericAxis.h" #include "MantidAPI/SpectrumInfo.h" + #include "MantidGeometry/IDetector.h" -#include "MantidKernel/System.h" #include "MantidKernel/VMD.h" #include "MantidKernel/cow_ptr.h" diff --git a/Framework/API/src/MultipleExperimentInfos.cpp b/Framework/API/src/MultipleExperimentInfos.cpp index 21466fecc9766..cfe163f1359d3 100644 --- a/Framework/API/src/MultipleExperimentInfos.cpp +++ b/Framework/API/src/MultipleExperimentInfos.cpp @@ -7,7 +7,6 @@ #include "MantidAPI/MultipleExperimentInfos.h" #include "MantidAPI/ExperimentInfo.h" #include "MantidAPI/Sample.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/API/src/MultipleFileProperty.cpp b/Framework/API/src/MultipleFileProperty.cpp index 8509299a966ea..f011d12b94d47 100644 --- a/Framework/API/src/MultipleFileProperty.cpp +++ b/Framework/API/src/MultipleFileProperty.cpp @@ -12,7 +12,6 @@ #include "MantidKernel/MultiFileValidator.h" #include "MantidKernel/Property.h" #include "MantidKernel/PropertyHelper.h" -#include "MantidKernel/System.h" #include "MantidKernel/VectorHelper.h" #include diff --git a/Framework/Algorithms/src/AddLogDerivative.cpp b/Framework/Algorithms/src/AddLogDerivative.cpp index 858f72a05fb01..50716fd36a39a 100644 --- a/Framework/Algorithms/src/AddLogDerivative.cpp +++ b/Framework/Algorithms/src/AddLogDerivative.cpp @@ -10,7 +10,7 @@ #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/MandatoryValidator.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" + #include "MantidKernel/TimeSeriesProperty.h" using namespace Mantid::Kernel; diff --git a/Framework/Algorithms/src/AddPeak.cpp b/Framework/Algorithms/src/AddPeak.cpp index 6de3bf3477752..b9c5311bc9ee5 100644 --- a/Framework/Algorithms/src/AddPeak.cpp +++ b/Framework/Algorithms/src/AddPeak.cpp @@ -13,7 +13,6 @@ #include "MantidGeometry/IDetector.h" #include "MantidGeometry/Instrument/DetectorInfo.h" #include "MantidGeometry/Instrument/Goniometer.h" -#include "MantidKernel/System.h" #include "MantidKernel/Unit.h" using namespace Mantid::PhysicalConstants; diff --git a/Framework/Algorithms/src/ChangePulsetime.cpp b/Framework/Algorithms/src/ChangePulsetime.cpp index 90432ae8148b0..5e16dabe4ad25 100644 --- a/Framework/Algorithms/src/ChangePulsetime.cpp +++ b/Framework/Algorithms/src/ChangePulsetime.cpp @@ -7,7 +7,6 @@ #include "MantidAlgorithms/ChangePulsetime.h" #include "MantidDataObjects/EventWorkspace.h" #include "MantidKernel/ArrayProperty.h" -#include "MantidKernel/System.h" namespace Mantid::Algorithms { diff --git a/Framework/Algorithms/src/ChangePulsetime2.cpp b/Framework/Algorithms/src/ChangePulsetime2.cpp index f5c14737a7056..1557ade95f482 100644 --- a/Framework/Algorithms/src/ChangePulsetime2.cpp +++ b/Framework/Algorithms/src/ChangePulsetime2.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/Algorithm.tcc" #include "MantidDataObjects/EventWorkspace.h" #include "MantidKernel/ArrayProperty.h" -#include "MantidKernel/System.h" namespace Mantid::Algorithms { diff --git a/Framework/Algorithms/src/ChangeTimeZero.cpp b/Framework/Algorithms/src/ChangeTimeZero.cpp index b8a4ea5ca49df..ffca6fb6ff911 100644 --- a/Framework/Algorithms/src/ChangeTimeZero.cpp +++ b/Framework/Algorithms/src/ChangeTimeZero.cpp @@ -15,7 +15,7 @@ #include "MantidKernel/DateAndTime.h" #include "MantidKernel/DateTimeValidator.h" #include "MantidKernel/PropertyWithValue.h" -#include "MantidKernel/System.h" + #include "MantidKernel/TimeSeriesProperty.h" #include diff --git a/Framework/Algorithms/src/ConvertToEventWorkspace.cpp b/Framework/Algorithms/src/ConvertToEventWorkspace.cpp index 521fd9357ed35..c755601e132f5 100644 --- a/Framework/Algorithms/src/ConvertToEventWorkspace.cpp +++ b/Framework/Algorithms/src/ConvertToEventWorkspace.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/Events.h" #include "MantidDataObjects/Workspace2D.h" #include "MantidDataObjects/WorkspaceCreation.h" -#include "MantidKernel/System.h" #include using namespace Mantid::Kernel; diff --git a/Framework/Algorithms/src/CreateGroupingWorkspace.cpp b/Framework/Algorithms/src/CreateGroupingWorkspace.cpp index 84ee066516b6b..b17c58b8e01a1 100644 --- a/Framework/Algorithms/src/CreateGroupingWorkspace.cpp +++ b/Framework/Algorithms/src/CreateGroupingWorkspace.cpp @@ -13,7 +13,7 @@ #include "MantidKernel/ListValidator.h" #include "MantidKernel/OptionalBool.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" + #include #include #include diff --git a/Framework/Algorithms/src/CreatePeaksWorkspace.cpp b/Framework/Algorithms/src/CreatePeaksWorkspace.cpp index 400145149f557..8d6e3fef8482f 100644 --- a/Framework/Algorithms/src/CreatePeaksWorkspace.cpp +++ b/Framework/Algorithms/src/CreatePeaksWorkspace.cpp @@ -12,7 +12,6 @@ #include "MantidDataObjects/PeaksWorkspace.h" #include "MantidGeometry/Instrument/Goniometer.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" namespace Mantid::Algorithms { diff --git a/Framework/Algorithms/src/ExportTimeSeriesLog.cpp b/Framework/Algorithms/src/ExportTimeSeriesLog.cpp index 6504dde967aa9..e08d41effd62b 100644 --- a/Framework/Algorithms/src/ExportTimeSeriesLog.cpp +++ b/Framework/Algorithms/src/ExportTimeSeriesLog.cpp @@ -17,9 +17,9 @@ #include "MantidGeometry/Instrument.h" #include "MantidHistogramData/Histogram.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include "MantidKernel/TimeSeriesProperty.h" #include "MantidKernel/UnitFactory.h" + #include #include #include diff --git a/Framework/Algorithms/src/FilterEvents.cpp b/Framework/Algorithms/src/FilterEvents.cpp index f50a5d54f7f5a..c82ab416d34e1 100644 --- a/Framework/Algorithms/src/FilterEvents.cpp +++ b/Framework/Algorithms/src/FilterEvents.cpp @@ -28,9 +28,9 @@ #include "MantidKernel/PhysicalConstants.h" #include "MantidKernel/PropertyWithValue.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include "MantidKernel/TimeSeriesProperty.h" #include "MantidKernel/VisibleWhenProperty.h" + #include #include diff --git a/Framework/Algorithms/src/GenerateIPythonNotebook.cpp b/Framework/Algorithms/src/GenerateIPythonNotebook.cpp index ca4eee3e2bbe2..94c07763b10f7 100644 --- a/Framework/Algorithms/src/GenerateIPythonNotebook.cpp +++ b/Framework/Algorithms/src/GenerateIPythonNotebook.cpp @@ -11,7 +11,6 @@ #include "MantidAPI/NotebookBuilder.h" #include "MantidAPI/Workspace.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include diff --git a/Framework/Algorithms/src/GeneratePythonScript.cpp b/Framework/Algorithms/src/GeneratePythonScript.cpp index 2c17c9c3a1159..8fedabb11e507 100644 --- a/Framework/Algorithms/src/GeneratePythonScript.cpp +++ b/Framework/Algorithms/src/GeneratePythonScript.cpp @@ -12,7 +12,6 @@ #include "MantidAPI/Workspace.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/MantidVersion.h" -#include "MantidKernel/System.h" #include diff --git a/Framework/Algorithms/src/MaskBinsFromTable.cpp b/Framework/Algorithms/src/MaskBinsFromTable.cpp index 879b85fd469cb..496712028c40f 100644 --- a/Framework/Algorithms/src/MaskBinsFromTable.cpp +++ b/Framework/Algorithms/src/MaskBinsFromTable.cpp @@ -11,7 +11,6 @@ #include "MantidAPI/WorkspaceProperty.h" #include "MantidGeometry/Instrument.h" #include "MantidKernel/ArrayProperty.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/Algorithms/src/RayTracerTester.cpp b/Framework/Algorithms/src/RayTracerTester.cpp index 820752b0aa919..305b30238d409 100644 --- a/Framework/Algorithms/src/RayTracerTester.cpp +++ b/Framework/Algorithms/src/RayTracerTester.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/Workspace2D.h" #include "MantidGeometry/IDetector.h" #include "MantidGeometry/Objects/InstrumentRayTracer.h" -#include "MantidKernel/System.h" #include "MantidKernel/V3D.h" #include diff --git a/Framework/Algorithms/src/ResetNegatives.cpp b/Framework/Algorithms/src/ResetNegatives.cpp index eb4f5ae48dcc2..fe9b9b29b36b8 100644 --- a/Framework/Algorithms/src/ResetNegatives.cpp +++ b/Framework/Algorithms/src/ResetNegatives.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidDataObjects/EventWorkspace.h" #include "MantidKernel/EnabledWhenProperty.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/Algorithms/src/ResizeRectangularDetector.cpp b/Framework/Algorithms/src/ResizeRectangularDetector.cpp index e387d076b7f1c..3a12137bc2460 100644 --- a/Framework/Algorithms/src/ResizeRectangularDetector.cpp +++ b/Framework/Algorithms/src/ResizeRectangularDetector.cpp @@ -13,7 +13,6 @@ #include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument/ComponentInfo.h" #include "MantidGeometry/Instrument/RectangularDetector.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/Algorithms/src/ShiftLogTime.cpp b/Framework/Algorithms/src/ShiftLogTime.cpp index 21b16b893bab3..27ca3a25fc4a7 100644 --- a/Framework/Algorithms/src/ShiftLogTime.cpp +++ b/Framework/Algorithms/src/ShiftLogTime.cpp @@ -7,7 +7,7 @@ #include "MantidAlgorithms/ShiftLogTime.h" #include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/Run.h" -#include "MantidKernel/System.h" + #include "MantidKernel/TimeSeriesProperty.h" #include diff --git a/Framework/Algorithms/src/SignalOverError.cpp b/Framework/Algorithms/src/SignalOverError.cpp index b8319e63ef962..765409eacaf6e 100644 --- a/Framework/Algorithms/src/SignalOverError.cpp +++ b/Framework/Algorithms/src/SignalOverError.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidAlgorithms/SignalOverError.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/Algorithms/src/SortXAxis.cpp b/Framework/Algorithms/src/SortXAxis.cpp index b8c0826c500df..a955c2cbd8ddb 100644 --- a/Framework/Algorithms/src/SortXAxis.cpp +++ b/Framework/Algorithms/src/SortXAxis.cpp @@ -10,7 +10,6 @@ #include "MantidAPI/WorkspaceProperty.h" #include "MantidHistogramData/Histogram.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" using namespace Mantid; using namespace Mantid::API; diff --git a/Framework/Algorithms/src/UnaryOperation.cpp b/Framework/Algorithms/src/UnaryOperation.cpp index 8995d257f691a..32716ab935126 100644 --- a/Framework/Algorithms/src/UnaryOperation.cpp +++ b/Framework/Algorithms/src/UnaryOperation.cpp @@ -8,6 +8,7 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/WorkspaceProperty.h" #include "MantidDataObjects/EventWorkspace.h" + #include "MantidDataObjects/RebinnedOutput.h" using namespace Mantid::API; diff --git a/Framework/Algorithms/src/WeightingStrategy.cpp b/Framework/Algorithms/src/WeightingStrategy.cpp index 2b950f7f8d814..37cb25f8d3f77 100644 --- a/Framework/Algorithms/src/WeightingStrategy.cpp +++ b/Framework/Algorithms/src/WeightingStrategy.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidAlgorithms/WeightingStrategy.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp b/Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp index f4ce07c419a0e..34321464f7a45 100644 --- a/Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp +++ b/Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp @@ -10,8 +10,8 @@ #include "MantidCurveFitting/Algorithms/Fit.h" #include "MantidCurveFitting/Constraints/BoundaryConstraint.h" #include "MantidHistogramData/HistogramX.h" + #include "MantidHistogramData/HistogramY.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/FuncMinimizers/LevenbergMarquardtMinimizer.cpp b/Framework/CurveFitting/src/FuncMinimizers/LevenbergMarquardtMinimizer.cpp index 76f6b53e22062..35b7dd133963a 100644 --- a/Framework/CurveFitting/src/FuncMinimizers/LevenbergMarquardtMinimizer.cpp +++ b/Framework/CurveFitting/src/FuncMinimizers/LevenbergMarquardtMinimizer.cpp @@ -15,7 +15,6 @@ #include "MantidKernel/Exception.h" #include "MantidKernel/Logger.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Functions/BivariateNormal.cpp b/Framework/CurveFitting/src/Functions/BivariateNormal.cpp index 18b288a67f304..26844215d7c21 100644 --- a/Framework/CurveFitting/src/Functions/BivariateNormal.cpp +++ b/Framework/CurveFitting/src/Functions/BivariateNormal.cpp @@ -4,17 +4,17 @@ // NScD Oak Ridge National Laboratory, European Spallation Source, // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + +#include "MantidCurveFitting/Functions/BivariateNormal.h" + #include "MantidAPI/FunctionFactory.h" + #include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/ParameterTie.h" #include "MantidCurveFitting/Constraints/BoundaryConstraint.h" -#include "MantidCurveFitting/Functions/BivariateNormal.h" - #include "MantidHistogramData/HistogramY.h" #include "MantidKernel/PhysicalConstants.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp b/Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp index 3c995e59dd12a..00c0dcf57efcc 100644 --- a/Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp +++ b/Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp @@ -11,7 +11,6 @@ #include "MantidAPI/MatrixWorkspace.h" #include "MantidCurveFitting/Functions/Bk2BkExpConvPV.h" #include "MantidCurveFitting/SpecialFunctionSupport.h" -#include "MantidKernel/System.h" #include "MantidKernel/UnitFactory.h" #include diff --git a/Framework/CurveFitting/src/Functions/FlatBackground.cpp b/Framework/CurveFitting/src/Functions/FlatBackground.cpp index b77af7681455f..fca4406337384 100644 --- a/Framework/CurveFitting/src/Functions/FlatBackground.cpp +++ b/Framework/CurveFitting/src/Functions/FlatBackground.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidCurveFitting/Functions/FlatBackground.h" #include "MantidAPI/FunctionFactory.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; diff --git a/Framework/CurveFitting/src/Functions/ProcessBackground.cpp b/Framework/CurveFitting/src/Functions/ProcessBackground.cpp index 8832e359b921c..82a3d7cf0785c 100644 --- a/Framework/CurveFitting/src/Functions/ProcessBackground.cpp +++ b/Framework/CurveFitting/src/Functions/ProcessBackground.cpp @@ -16,7 +16,6 @@ #include "MantidGeometry/Crystal/IPeak.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/Property.h" -#include "MantidKernel/System.h" #include "MantidKernel/VisibleWhenProperty.h" #include diff --git a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpAlpha.cpp b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpAlpha.cpp index bcb1ff681f0e1..c7baa7c3b14e3 100644 --- a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpAlpha.cpp +++ b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpAlpha.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpAlpha.h" #include "MantidAPI/FunctionFactory.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpBeta.cpp b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpBeta.cpp index f1a159c850c36..3eba3132c91bd 100644 --- a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpBeta.cpp +++ b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpBeta.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpBeta.h" #include "MantidAPI/FunctionFactory.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpSigma.cpp b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpSigma.cpp index ea099660bc80b..f7ef43da17bfb 100644 --- a/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpSigma.cpp +++ b/Framework/CurveFitting/src/Functions/ThermalNeutronBk2BkExpSigma.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpSigma.h" #include "MantidAPI/FunctionFactory.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/CurveFitting/src/Functions/ThermalNeutronDtoTOFFunction.cpp b/Framework/CurveFitting/src/Functions/ThermalNeutronDtoTOFFunction.cpp index 52e94930e4be4..abf27713fadcb 100644 --- a/Framework/CurveFitting/src/Functions/ThermalNeutronDtoTOFFunction.cpp +++ b/Framework/CurveFitting/src/Functions/ThermalNeutronDtoTOFFunction.cpp @@ -7,7 +7,6 @@ #include "MantidCurveFitting/Functions/ThermalNeutronDtoTOFFunction.h" #include "MantidAPI/FunctionDomain1D.h" #include "MantidAPI/FunctionFactory.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/LoadCalFile.cpp b/Framework/DataHandling/src/LoadCalFile.cpp index db762a52b4749..708b58061ec25 100644 --- a/Framework/DataHandling/src/LoadCalFile.cpp +++ b/Framework/DataHandling/src/LoadCalFile.cpp @@ -16,7 +16,7 @@ #include "MantidDataObjects/OffsetsWorkspace.h" #include "MantidDataObjects/Workspace2D.h" #include "MantidKernel/OptionalBool.h" -#include "MantidKernel/System.h" + #include #include diff --git a/Framework/DataHandling/src/LoadDNSEvent.cpp b/Framework/DataHandling/src/LoadDNSEvent.cpp index 43877aaefdb0d..8f34a922fefc6 100644 --- a/Framework/DataHandling/src/LoadDNSEvent.cpp +++ b/Framework/DataHandling/src/LoadDNSEvent.cpp @@ -20,7 +20,6 @@ #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/OptionalBool.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/LoadDetectorsGroupingFile.cpp b/Framework/DataHandling/src/LoadDetectorsGroupingFile.cpp index b7122ad55900c..0e8993ff52ce5 100644 --- a/Framework/DataHandling/src/LoadDetectorsGroupingFile.cpp +++ b/Framework/DataHandling/src/LoadDetectorsGroupingFile.cpp @@ -17,8 +17,8 @@ #include "MantidGeometry/Instrument.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/OptionalBool.h" + #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/LoadEventPreNexus2.cpp b/Framework/DataHandling/src/LoadEventPreNexus2.cpp index ab69cac3b5d63..f5416fb2900f6 100644 --- a/Framework/DataHandling/src/LoadEventPreNexus2.cpp +++ b/Framework/DataHandling/src/LoadEventPreNexus2.cpp @@ -28,7 +28,6 @@ #include "MantidKernel/InstrumentInfo.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/OptionalBool.h" -#include "MantidKernel/System.h" #include "MantidKernel/TimeSeriesProperty.h" #include "MantidKernel/UnitFactory.h" #include "MantidKernel/VisibleWhenProperty.h" diff --git a/Framework/DataHandling/src/LoadMask.cpp b/Framework/DataHandling/src/LoadMask.cpp index 6bee234a9e9a2..ae9b022c53ef2 100644 --- a/Framework/DataHandling/src/LoadMask.cpp +++ b/Framework/DataHandling/src/LoadMask.cpp @@ -17,8 +17,8 @@ #include "MantidKernel/ListValidator.h" #include "MantidKernel/MandatoryValidator.h" #include "MantidKernel/OptionalBool.h" + #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/LoadPreNexus.cpp b/Framework/DataHandling/src/LoadPreNexus.cpp index 76ff45140f19d..58a98a8147963 100644 --- a/Framework/DataHandling/src/LoadPreNexus.cpp +++ b/Framework/DataHandling/src/LoadPreNexus.cpp @@ -14,8 +14,8 @@ #include "MantidDataHandling/LoadTOFRawNexus.h" #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include "MantidKernel/VisibleWhenProperty.h" + #include #include #include diff --git a/Framework/DataHandling/src/ModifyDetectorDotDatFile.cpp b/Framework/DataHandling/src/ModifyDetectorDotDatFile.cpp index 1a0946a203ad4..7337de7d0dd85 100644 --- a/Framework/DataHandling/src/ModifyDetectorDotDatFile.cpp +++ b/Framework/DataHandling/src/ModifyDetectorDotDatFile.cpp @@ -12,7 +12,6 @@ #include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument/DetectorInfo.h" #include "MantidGeometry/Instrument/RectangularDetector.h" -#include "MantidKernel/System.h" #include using namespace Mantid::Kernel; diff --git a/Framework/DataHandling/src/SNSAppendGeometryToNexus.cpp b/Framework/DataHandling/src/SNSAppendGeometryToNexus.cpp index ad4cbaec0bf10..e4c1a4e875876 100644 --- a/Framework/DataHandling/src/SNSAppendGeometryToNexus.cpp +++ b/Framework/DataHandling/src/SNSAppendGeometryToNexus.cpp @@ -10,8 +10,8 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidDataObjects/Workspace2D.h" #include "MantidGeometry/Instrument.h" + #include "MantidKernel/OptionalBool.h" -#include "MantidKernel/System.h" // clang-format off #include diff --git a/Framework/DataHandling/src/SaveCalFile.cpp b/Framework/DataHandling/src/SaveCalFile.cpp index fa665f79fd1cc..6a15102cbeb58 100644 --- a/Framework/DataHandling/src/SaveCalFile.cpp +++ b/Framework/DataHandling/src/SaveCalFile.cpp @@ -7,7 +7,6 @@ #include "MantidDataHandling/SaveCalFile.h" #include "MantidAPI/FileProperty.h" #include "MantidKernel/BoundedValidator.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/SaveDaveGrp.cpp b/Framework/DataHandling/src/SaveDaveGrp.cpp index 2e8fd8962a643..df6229bb94a80 100644 --- a/Framework/DataHandling/src/SaveDaveGrp.cpp +++ b/Framework/DataHandling/src/SaveDaveGrp.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/Axis.h" #include "MantidAPI/FileProperty.h" #include "MantidAPI/MatrixWorkspace.h" -#include "MantidKernel/System.h" #include "MantidKernel/Unit.h" #include "MantidKernel/UnitFactory.h" #include diff --git a/Framework/DataHandling/src/SaveDetectorsGrouping.cpp b/Framework/DataHandling/src/SaveDetectorsGrouping.cpp index c935caf3db69f..0b05a8d82791e 100644 --- a/Framework/DataHandling/src/SaveDetectorsGrouping.cpp +++ b/Framework/DataHandling/src/SaveDetectorsGrouping.cpp @@ -9,7 +9,6 @@ #include "MantidAPI/FileProperty.h" #include "MantidAPI/ISpectrum.h" #include "MantidAPI/Run.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/SaveDspacemap.cpp b/Framework/DataHandling/src/SaveDspacemap.cpp index 5e994a07a13dd..4a8f1f0485577 100644 --- a/Framework/DataHandling/src/SaveDspacemap.cpp +++ b/Framework/DataHandling/src/SaveDspacemap.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/FileProperty.h" #include "MantidDataObjects/OffsetsWorkspace.h" #include "MantidGeometry/Instrument/DetectorInfo.h" -#include "MantidKernel/System.h" #include namespace Mantid::DataHandling { diff --git a/Framework/DataHandling/src/SaveIsawDetCal.cpp b/Framework/DataHandling/src/SaveIsawDetCal.cpp index 42505bcf3bd0b..38213f8ba57a6 100644 --- a/Framework/DataHandling/src/SaveIsawDetCal.cpp +++ b/Framework/DataHandling/src/SaveIsawDetCal.cpp @@ -13,8 +13,8 @@ #include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument/RectangularDetector.h" #include "MantidKernel/ArrayProperty.h" + #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataHandling/src/SaveMask.cpp b/Framework/DataHandling/src/SaveMask.cpp index 95d52768adae8..ecfbff440dcaa 100644 --- a/Framework/DataHandling/src/SaveMask.cpp +++ b/Framework/DataHandling/src/SaveMask.cpp @@ -9,7 +9,6 @@ #include "MantidAPI/FileProperty.h" #include "MantidAPI/ISpectrum.h" #include "MantidDataObjects/SpecialWorkspace2D.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataObjects/src/CoordTransformAffine.cpp b/Framework/DataObjects/src/CoordTransformAffine.cpp index 6fdadfb82f37b..2f19be6c6c1e2 100644 --- a/Framework/DataObjects/src/CoordTransformAffine.cpp +++ b/Framework/DataObjects/src/CoordTransformAffine.cpp @@ -10,7 +10,7 @@ #include "MantidGeometry/MDGeometry/MDTypes.h" #include "MantidKernel/Exception.h" #include "MantidKernel/Matrix.h" -#include "MantidKernel/System.h" + #include "MantidKernel/VectorHelper.h" #include diff --git a/Framework/DataObjects/src/CoordTransformDistance.cpp b/Framework/DataObjects/src/CoordTransformDistance.cpp index ee9d21252b214..b2850629e8fa5 100644 --- a/Framework/DataObjects/src/CoordTransformDistance.cpp +++ b/Framework/DataObjects/src/CoordTransformDistance.cpp @@ -7,7 +7,6 @@ #include "MantidDataObjects/CoordTransformDistance.h" #include "MantidAPI/CoordTransform.h" #include "MantidKernel/Exception.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/DataObjects/src/EventWorkspaceMRU.cpp b/Framework/DataObjects/src/EventWorkspaceMRU.cpp index 055b53dc64f61..3cc2cc20b019b 100644 --- a/Framework/DataObjects/src/EventWorkspaceMRU.cpp +++ b/Framework/DataObjects/src/EventWorkspaceMRU.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidDataObjects/EventWorkspaceMRU.h" -#include "MantidKernel/System.h" #include diff --git a/Framework/DataObjects/src/GroupingWorkspace.cpp b/Framework/DataObjects/src/GroupingWorkspace.cpp index 54eab03b20bcf..593290e772b4a 100644 --- a/Framework/DataObjects/src/GroupingWorkspace.cpp +++ b/Framework/DataObjects/src/GroupingWorkspace.cpp @@ -9,8 +9,8 @@ #include "MantidAPI/SpectraAxis.h" #include "MantidAPI/WorkspaceFactory.h" #include "MantidDataObjects/GroupingWorkspace.h" + #include "MantidKernel/IPropertyManager.h" -#include "MantidKernel/System.h" using std::size_t; using namespace Mantid::API; diff --git a/Framework/DataObjects/src/MDHistoWorkspaceIterator.cpp b/Framework/DataObjects/src/MDHistoWorkspaceIterator.cpp index 73cf2e5c6f526..bf83fb02a7451 100644 --- a/Framework/DataObjects/src/MDHistoWorkspaceIterator.cpp +++ b/Framework/DataObjects/src/MDHistoWorkspaceIterator.cpp @@ -6,9 +6,9 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidDataObjects/MDHistoWorkspaceIterator.h" #include "MantidGeometry/MDGeometry/IMDDimension.h" -#include "MantidKernel/System.h" #include "MantidKernel/Utils.h" #include "MantidKernel/VMD.h" + #include #include #include diff --git a/Framework/DataObjects/src/MDLeanEvent.cpp b/Framework/DataObjects/src/MDLeanEvent.cpp index 10d813e6c4b36..701e8b6a6ff5c 100644 --- a/Framework/DataObjects/src/MDLeanEvent.cpp +++ b/Framework/DataObjects/src/MDLeanEvent.cpp @@ -5,4 +5,3 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidDataObjects/MDLeanEvent.h" -#include "MantidKernel/System.h" diff --git a/Framework/DataObjects/src/MaskWorkspace.cpp b/Framework/DataObjects/src/MaskWorkspace.cpp index 0b881e6bac5d2..afdc61cfbb564 100644 --- a/Framework/DataObjects/src/MaskWorkspace.cpp +++ b/Framework/DataObjects/src/MaskWorkspace.cpp @@ -4,15 +4,13 @@ // NScD Oak Ridge National Laboratory, European Spallation Source, // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + +#include #include #include "MantidAPI/SpectrumInfo.h" #include "MantidAPI/WorkspaceFactory.h" #include "MantidDataObjects/MaskWorkspace.h" #include "MantidKernel/IPropertyManager.h" -#include "MantidKernel/System.h" - -#include namespace Mantid::DataObjects { using Mantid::API::SpectrumInfo; diff --git a/Framework/DataObjects/src/OffsetsWorkspace.cpp b/Framework/DataObjects/src/OffsetsWorkspace.cpp index f12be621a9ce2..3de3b70c49e07 100644 --- a/Framework/DataObjects/src/OffsetsWorkspace.cpp +++ b/Framework/DataObjects/src/OffsetsWorkspace.cpp @@ -9,8 +9,8 @@ #include "MantidAPI/SpectraAxis.h" #include "MantidAPI/WorkspaceFactory.h" #include "MantidDataObjects/OffsetsWorkspace.h" + #include "MantidKernel/IPropertyManager.h" -#include "MantidKernel/System.h" namespace Mantid::DataObjects { // Register the workspace diff --git a/Framework/DataObjects/src/PeakColumn.cpp b/Framework/DataObjects/src/PeakColumn.cpp index 59d39e373c2ec..05b39c25144d4 100644 --- a/Framework/DataObjects/src/PeakColumn.cpp +++ b/Framework/DataObjects/src/PeakColumn.cpp @@ -9,7 +9,6 @@ #include "MantidKernel/Exception.h" #include "MantidKernel/MultiThreaded.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include diff --git a/Framework/Geometry/src/Crystal/PointGroup.cpp b/Framework/Geometry/src/Crystal/PointGroup.cpp index 4374abfeeb7bf..f8c8587f07599 100644 --- a/Framework/Geometry/src/Crystal/PointGroup.cpp +++ b/Framework/Geometry/src/Crystal/PointGroup.cpp @@ -9,7 +9,6 @@ #include "MantidGeometry/Crystal/SymmetryElementFactory.h" #include "MantidGeometry/Crystal/SymmetryOperationFactory.h" #include "MantidKernel/Logger.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/Geometry/src/Instrument/GridDetectorPixel.cpp b/Framework/Geometry/src/Instrument/GridDetectorPixel.cpp index 757c03192c014..9ce42236f5a8a 100644 --- a/Framework/Geometry/src/Instrument/GridDetectorPixel.cpp +++ b/Framework/Geometry/src/Instrument/GridDetectorPixel.cpp @@ -8,7 +8,6 @@ #include "MantidGeometry/Instrument/GridDetector.h" #include "MantidGeometry/Instrument/GridDetectorPixel.h" -#include "MantidKernel/System.h" #include "MantidKernel/V3D.h" using namespace Mantid::Kernel; diff --git a/Framework/Geometry/src/MDGeometry/MDBoxImplicitFunction.cpp b/Framework/Geometry/src/MDGeometry/MDBoxImplicitFunction.cpp index e0e7e26b5b4f1..74a4c90f4d9be 100644 --- a/Framework/Geometry/src/MDGeometry/MDBoxImplicitFunction.cpp +++ b/Framework/Geometry/src/MDGeometry/MDBoxImplicitFunction.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidGeometry/MDGeometry/MDBoxImplicitFunction.h" #include "MantidGeometry/MDGeometry/MDPlane.h" -#include "MantidKernel/System.h" #include "MantidKernel/VMD.h" #include diff --git a/Framework/Geometry/src/MDGeometry/MDImplicitFunction.cpp b/Framework/Geometry/src/MDGeometry/MDImplicitFunction.cpp index a0b1e120756dc..341e63971a8f7 100644 --- a/Framework/Geometry/src/MDGeometry/MDImplicitFunction.cpp +++ b/Framework/Geometry/src/MDGeometry/MDImplicitFunction.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidGeometry/MDGeometry/MDImplicitFunction.h" -#include "MantidKernel/System.h" namespace Mantid::Geometry { diff --git a/Framework/Geometry/src/MDGeometry/MDPlane.cpp b/Framework/Geometry/src/MDGeometry/MDPlane.cpp index fbfa63fbfcabe..2c664f16cb4d1 100644 --- a/Framework/Geometry/src/MDGeometry/MDPlane.cpp +++ b/Framework/Geometry/src/MDGeometry/MDPlane.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidGeometry/MDGeometry/MDPlane.h" #include "MantidKernel/Matrix.h" -#include "MantidKernel/System.h" #include "MantidKernel/VMD.h" #include #include diff --git a/Framework/Kernel/src/ConfigObserver.cpp b/Framework/Kernel/src/ConfigObserver.cpp index 2ed8ea434befc..a5f3cf919b695 100644 --- a/Framework/Kernel/src/ConfigObserver.cpp +++ b/Framework/Kernel/src/ConfigObserver.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidKernel/ConfigObserver.h" #include "MantidKernel/ConfigService.h" -#include "MantidKernel/System.h" namespace Mantid::Kernel { /** diff --git a/Framework/Kernel/src/ConfigService.cpp b/Framework/Kernel/src/ConfigService.cpp index 05d9df39d3ab5..27f2f331db05f 100644 --- a/Framework/Kernel/src/ConfigService.cpp +++ b/Framework/Kernel/src/ConfigService.cpp @@ -19,7 +19,6 @@ #include "MantidKernel/StdoutChannel.h" #include "MantidKernel/StringTokenizer.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/Kernel/src/DateTimeValidator.cpp b/Framework/Kernel/src/DateTimeValidator.cpp index 26218531669d5..f43b29e73a84d 100644 --- a/Framework/Kernel/src/DateTimeValidator.cpp +++ b/Framework/Kernel/src/DateTimeValidator.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidKernel/DateTimeValidator.h" #include "MantidKernel/DateAndTimeHelpers.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/Kernel/src/FloatingPointComparison.cpp b/Framework/Kernel/src/FloatingPointComparison.cpp index 18e21ee0a5c86..e356a2f9d9867 100644 --- a/Framework/Kernel/src/FloatingPointComparison.cpp +++ b/Framework/Kernel/src/FloatingPointComparison.cpp @@ -8,7 +8,6 @@ // Includes //----------------------------------------------------------------------------- #include "MantidKernel/FloatingPointComparison.h" -#include "MantidKernel/System.h" #include "MantidKernel/V3D.h" #include diff --git a/Framework/Kernel/src/Memory.cpp b/Framework/Kernel/src/Memory.cpp index fff4dfdb05993..f545d13116f68 100644 --- a/Framework/Kernel/src/Memory.cpp +++ b/Framework/Kernel/src/Memory.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidKernel/Memory.h" #include "MantidKernel/Logger.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/LiveData/src/ISIS/DAE/idc.cpp b/Framework/LiveData/src/ISIS/DAE/idc.cpp index 9c9692fa94bbc..f716848de017e 100644 --- a/Framework/LiveData/src/ISIS/DAE/idc.cpp +++ b/Framework/LiveData/src/ISIS/DAE/idc.cpp @@ -15,7 +15,7 @@ */ #include "idc.h" -#include "MantidKernel/System.h" + #include #include #include diff --git a/Framework/LiveData/src/ISIS/DAE/isisds_command.cpp b/Framework/LiveData/src/ISIS/DAE/isisds_command.cpp index 56eba42ebfb50..eb1c3f34fdf9a 100644 --- a/Framework/LiveData/src/ISIS/DAE/isisds_command.cpp +++ b/Framework/LiveData/src/ISIS/DAE/isisds_command.cpp @@ -31,7 +31,7 @@ #include "isisds_command.h" #include "MantidKernel/ConfigService.h" -#include "MantidKernel/System.h" + #include /* diff --git a/Framework/MDAlgorithms/src/BinMD.cpp b/Framework/MDAlgorithms/src/BinMD.cpp index 1cbaeda8b15ce..9bbeaa42782d7 100644 --- a/Framework/MDAlgorithms/src/BinMD.cpp +++ b/Framework/MDAlgorithms/src/BinMD.cpp @@ -19,7 +19,6 @@ #include "MantidKernel/CPUTimer.h" #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include "MantidKernel/Utils.h" #include diff --git a/Framework/MDAlgorithms/src/BinaryOperationMD.cpp b/Framework/MDAlgorithms/src/BinaryOperationMD.cpp index f0448cb4e6cad..8178b40903e37 100644 --- a/Framework/MDAlgorithms/src/BinaryOperationMD.cpp +++ b/Framework/MDAlgorithms/src/BinaryOperationMD.cpp @@ -14,7 +14,6 @@ #include "MantidDataObjects/MDHistoWorkspace.h" #include "MantidDataObjects/WorkspaceSingleValue.h" #include "MantidGeometry/MDGeometry/IMDDimension.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/BooleanBinaryOperationMD.cpp b/Framework/MDAlgorithms/src/BooleanBinaryOperationMD.cpp index f7785ff17507f..95d758722fbe0 100644 --- a/Framework/MDAlgorithms/src/BooleanBinaryOperationMD.cpp +++ b/Framework/MDAlgorithms/src/BooleanBinaryOperationMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/BooleanBinaryOperationMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/CentroidPeaksMD.cpp b/Framework/MDAlgorithms/src/CentroidPeaksMD.cpp index 48438758e3628..06c6fabb228fb 100644 --- a/Framework/MDAlgorithms/src/CentroidPeaksMD.cpp +++ b/Framework/MDAlgorithms/src/CentroidPeaksMD.cpp @@ -10,7 +10,6 @@ #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/PeaksWorkspace.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include "MantidMDAlgorithms/IntegratePeaksMD.h" using Mantid::DataObjects::PeaksWorkspace; diff --git a/Framework/MDAlgorithms/src/CentroidPeaksMD2.cpp b/Framework/MDAlgorithms/src/CentroidPeaksMD2.cpp index 5418e9ea19c89..b594278b0dae0 100644 --- a/Framework/MDAlgorithms/src/CentroidPeaksMD2.cpp +++ b/Framework/MDAlgorithms/src/CentroidPeaksMD2.cpp @@ -12,7 +12,6 @@ #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/PeaksWorkspace.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include "MantidMDAlgorithms/IntegratePeaksMD.h" namespace Mantid::MDAlgorithms { diff --git a/Framework/MDAlgorithms/src/ChangeQConvention.cpp b/Framework/MDAlgorithms/src/ChangeQConvention.cpp index a49b3e74cb52f..7c51fc253943f 100644 --- a/Framework/MDAlgorithms/src/ChangeQConvention.cpp +++ b/Framework/MDAlgorithms/src/ChangeQConvention.cpp @@ -19,7 +19,6 @@ #include "MantidKernel/ConfigService.h" #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/Matrix.h" -#include "MantidKernel/System.h" #include using namespace Mantid::Kernel; diff --git a/Framework/MDAlgorithms/src/CloneMDWorkspace.cpp b/Framework/MDAlgorithms/src/CloneMDWorkspace.cpp index 26fcddd46f64b..438c38d01ddf0 100644 --- a/Framework/MDAlgorithms/src/CloneMDWorkspace.cpp +++ b/Framework/MDAlgorithms/src/CloneMDWorkspace.cpp @@ -9,7 +9,6 @@ #include "MantidAPI/IMDEventWorkspace.h" #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/MDHistoWorkspace.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/MDAlgorithms/src/CompareMDWorkspaces.cpp b/Framework/MDAlgorithms/src/CompareMDWorkspaces.cpp index 11ed2d6679c72..b26fa93bf4e1c 100644 --- a/Framework/MDAlgorithms/src/CompareMDWorkspaces.cpp +++ b/Framework/MDAlgorithms/src/CompareMDWorkspaces.cpp @@ -11,7 +11,6 @@ #include "MantidDataObjects/MDHistoWorkspace.h" #include "MantidGeometry/MDGeometry/IMDDimension.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/MDAlgorithms/src/ConvertToDetectorFaceMD.cpp b/Framework/MDAlgorithms/src/ConvertToDetectorFaceMD.cpp index a40ef0fed76c1..c54ab49fb7c06 100644 --- a/Framework/MDAlgorithms/src/ConvertToDetectorFaceMD.cpp +++ b/Framework/MDAlgorithms/src/ConvertToDetectorFaceMD.cpp @@ -14,7 +14,6 @@ #include "MantidKernel/ArrayLengthValidator.h" #include "MantidKernel/ArrayProperty.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include "MantidKernel/Unit.h" using namespace Mantid::Kernel; diff --git a/Framework/MDAlgorithms/src/ConvertToDiffractionMDWorkspace.cpp b/Framework/MDAlgorithms/src/ConvertToDiffractionMDWorkspace.cpp index cd72e98ab1072..f430cd8690c8d 100644 --- a/Framework/MDAlgorithms/src/ConvertToDiffractionMDWorkspace.cpp +++ b/Framework/MDAlgorithms/src/ConvertToDiffractionMDWorkspace.cpp @@ -27,7 +27,6 @@ #include "MantidKernel/FunctionTask.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/PhysicalConstants.h" -#include "MantidKernel/System.h" #include "MantidKernel/Timer.h" #include "MantidKernel/Unit.h" #include "MantidKernel/UnitLabelTypes.h" diff --git a/Framework/MDAlgorithms/src/CreateMDWorkspace.cpp b/Framework/MDAlgorithms/src/CreateMDWorkspace.cpp index 9be4dc9ff2d1a..59699d2be8086 100644 --- a/Framework/MDAlgorithms/src/CreateMDWorkspace.cpp +++ b/Framework/MDAlgorithms/src/CreateMDWorkspace.cpp @@ -20,7 +20,6 @@ #include "MantidKernel/ListValidator.h" #include "MantidKernel/MandatoryValidator.h" #include "MantidKernel/Memory.h" -#include "MantidKernel/System.h" #include #include #include diff --git a/Framework/MDAlgorithms/src/CutMD.cpp b/Framework/MDAlgorithms/src/CutMD.cpp index cb869ed69e766..41fc8cbeaecf3 100644 --- a/Framework/MDAlgorithms/src/CutMD.cpp +++ b/Framework/MDAlgorithms/src/CutMD.cpp @@ -16,7 +16,6 @@ #include "MantidKernel/BoundedValidator.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/Matrix.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/MDAlgorithms/src/DivideMD.cpp b/Framework/MDAlgorithms/src/DivideMD.cpp index de49fbcccac1c..7ced7f68d6c25 100644 --- a/Framework/MDAlgorithms/src/DivideMD.cpp +++ b/Framework/MDAlgorithms/src/DivideMD.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/MDBoxBase.h" #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/MDEventWorkspace.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/EqualToMD.cpp b/Framework/MDAlgorithms/src/EqualToMD.cpp index 57a562cda0656..2bf0d41b2ed32 100644 --- a/Framework/MDAlgorithms/src/EqualToMD.cpp +++ b/Framework/MDAlgorithms/src/EqualToMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/EqualToMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/ExponentialMD.cpp b/Framework/MDAlgorithms/src/ExponentialMD.cpp index 35bc019aae17b..1613708f048b6 100644 --- a/Framework/MDAlgorithms/src/ExponentialMD.cpp +++ b/Framework/MDAlgorithms/src/ExponentialMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/ExponentialMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/GreaterThanMD.cpp b/Framework/MDAlgorithms/src/GreaterThanMD.cpp index a1d274bb7d608..726ec842794b0 100644 --- a/Framework/MDAlgorithms/src/GreaterThanMD.cpp +++ b/Framework/MDAlgorithms/src/GreaterThanMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/GreaterThanMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/IntegratePeaksMD.cpp b/Framework/MDAlgorithms/src/IntegratePeaksMD.cpp index 8ce46afbd36cb..d6d08de17a2ab 100644 --- a/Framework/MDAlgorithms/src/IntegratePeaksMD.cpp +++ b/Framework/MDAlgorithms/src/IntegratePeaksMD.cpp @@ -24,7 +24,6 @@ #include "MantidDataObjects/Workspace2D.h" #include "MantidHistogramData/LinearGenerator.h" #include "MantidKernel/ListValidator.h" -#include "MantidKernel/System.h" #include "MantidKernel/Utils.h" #include "MantidMDAlgorithms/GSLFunctions.h" diff --git a/Framework/MDAlgorithms/src/IntegratePeaksMD2.cpp b/Framework/MDAlgorithms/src/IntegratePeaksMD2.cpp index 8f58311809eb5..b18f38029deec 100644 --- a/Framework/MDAlgorithms/src/IntegratePeaksMD2.cpp +++ b/Framework/MDAlgorithms/src/IntegratePeaksMD2.cpp @@ -34,7 +34,6 @@ #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/SetValueWhenProperty.h" -#include "MantidKernel/System.h" #include "MantidKernel/Utils.h" #include "MantidKernel/VisibleWhenProperty.h" #include "MantidMDAlgorithms/GSLFunctions.h" diff --git a/Framework/MDAlgorithms/src/LessThanMD.cpp b/Framework/MDAlgorithms/src/LessThanMD.cpp index f8cc1885c0e7f..c6cd400bfe29f 100644 --- a/Framework/MDAlgorithms/src/LessThanMD.cpp +++ b/Framework/MDAlgorithms/src/LessThanMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/LessThanMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/LogarithmMD.cpp b/Framework/MDAlgorithms/src/LogarithmMD.cpp index 107d37d1ce3d4..bb57f587850a0 100644 --- a/Framework/MDAlgorithms/src/LogarithmMD.cpp +++ b/Framework/MDAlgorithms/src/LogarithmMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/LogarithmMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/MinusMD.cpp b/Framework/MDAlgorithms/src/MinusMD.cpp index cfa25570844be..d60c326fdf8cf 100644 --- a/Framework/MDAlgorithms/src/MinusMD.cpp +++ b/Framework/MDAlgorithms/src/MinusMD.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/MDBoxIterator.h" #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/MDEventWorkspace.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/MultiplyMD.cpp b/Framework/MDAlgorithms/src/MultiplyMD.cpp index 8d184db9ad791..ff91d19553cb8 100644 --- a/Framework/MDAlgorithms/src/MultiplyMD.cpp +++ b/Framework/MDAlgorithms/src/MultiplyMD.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/MDBoxBase.h" #include "MantidDataObjects/MDEventFactory.h" #include "MantidDataObjects/MDEventWorkspace.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/NotMD.cpp b/Framework/MDAlgorithms/src/NotMD.cpp index bb5b4e138aefc..dcf7050b1fcdc 100644 --- a/Framework/MDAlgorithms/src/NotMD.cpp +++ b/Framework/MDAlgorithms/src/NotMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/NotMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/OrMD.cpp b/Framework/MDAlgorithms/src/OrMD.cpp index 2bf47e09bfbe1..812ca5d57b7dd 100644 --- a/Framework/MDAlgorithms/src/OrMD.cpp +++ b/Framework/MDAlgorithms/src/OrMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/OrMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/PlusMD.cpp b/Framework/MDAlgorithms/src/PlusMD.cpp index e53def9eff497..1b60d13ede5b4 100644 --- a/Framework/MDAlgorithms/src/PlusMD.cpp +++ b/Framework/MDAlgorithms/src/PlusMD.cpp @@ -9,7 +9,6 @@ #include "MantidDataObjects/MDBoxBase.h" #include "MantidDataObjects/MDBoxIterator.h" #include "MantidDataObjects/MDEventFactory.h" -#include "MantidKernel/System.h" #include "MantidKernel/ThreadPool.h" #include "MantidKernel/ThreadScheduler.h" diff --git a/Framework/MDAlgorithms/src/PowerMD.cpp b/Framework/MDAlgorithms/src/PowerMD.cpp index 8f6095f5dc708..dd8542094dbcc 100644 --- a/Framework/MDAlgorithms/src/PowerMD.cpp +++ b/Framework/MDAlgorithms/src/PowerMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/PowerMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/SaveMD.cpp b/Framework/MDAlgorithms/src/SaveMD.cpp index 4eb35a6c3856b..5fb8de2b7bf0d 100644 --- a/Framework/MDAlgorithms/src/SaveMD.cpp +++ b/Framework/MDAlgorithms/src/SaveMD.cpp @@ -20,7 +20,6 @@ #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/Matrix.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include using file_holder_type = std::unique_ptr<::NeXus::File>; diff --git a/Framework/MDAlgorithms/src/SaveMD2.cpp b/Framework/MDAlgorithms/src/SaveMD2.cpp index 673c407cca19c..9754edc809649 100644 --- a/Framework/MDAlgorithms/src/SaveMD2.cpp +++ b/Framework/MDAlgorithms/src/SaveMD2.cpp @@ -21,7 +21,6 @@ #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/Matrix.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include using file_holder_type = std::unique_ptr<::NeXus::File>; diff --git a/Framework/MDAlgorithms/src/SaveZODS.cpp b/Framework/MDAlgorithms/src/SaveZODS.cpp index 3b76e10815e28..030121407396c 100644 --- a/Framework/MDAlgorithms/src/SaveZODS.cpp +++ b/Framework/MDAlgorithms/src/SaveZODS.cpp @@ -11,7 +11,6 @@ #include "MantidDataObjects/MDHistoWorkspace.h" #include "MantidGeometry/Crystal/OrientedLattice.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/SetMDUsingMask.cpp b/Framework/MDAlgorithms/src/SetMDUsingMask.cpp index cbe44a763a867..2eb19fb693d38 100644 --- a/Framework/MDAlgorithms/src/SetMDUsingMask.cpp +++ b/Framework/MDAlgorithms/src/SetMDUsingMask.cpp @@ -8,7 +8,6 @@ #include "MantidAPI/IMDHistoWorkspace.h" #include "MantidAPI/IMDWorkspace.h" #include "MantidDataObjects/MDHistoWorkspace.h" -#include "MantidKernel/System.h" #include using namespace Mantid::Kernel; diff --git a/Framework/MDAlgorithms/src/SlicingAlgorithm.cpp b/Framework/MDAlgorithms/src/SlicingAlgorithm.cpp index f9de254fc45d9..be683c68c04a4 100644 --- a/Framework/MDAlgorithms/src/SlicingAlgorithm.cpp +++ b/Framework/MDAlgorithms/src/SlicingAlgorithm.cpp @@ -15,7 +15,6 @@ #include "MantidKernel/ArrayProperty.h" #include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/Strings.h" -#include "MantidKernel/System.h" #include "MantidKernel/VisibleWhenProperty.h" #include diff --git a/Framework/MDAlgorithms/src/TransformMD.cpp b/Framework/MDAlgorithms/src/TransformMD.cpp index 41bf5ed53bb81..a8d2575a718e5 100644 --- a/Framework/MDAlgorithms/src/TransformMD.cpp +++ b/Framework/MDAlgorithms/src/TransformMD.cpp @@ -12,7 +12,6 @@ #include "MantidDataObjects/MDHistoWorkspace.h" #include "MantidGeometry/MDGeometry/IMDDimension.h" #include "MantidKernel/ArrayProperty.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/UnaryOperationMD.cpp b/Framework/MDAlgorithms/src/UnaryOperationMD.cpp index 3f5e4a38448c4..92db07d9b993b 100644 --- a/Framework/MDAlgorithms/src/UnaryOperationMD.cpp +++ b/Framework/MDAlgorithms/src/UnaryOperationMD.cpp @@ -10,7 +10,6 @@ #include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/WorkspaceProperty.h" #include "MantidDataObjects/MDHistoWorkspace.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/WeightedMeanMD.cpp b/Framework/MDAlgorithms/src/WeightedMeanMD.cpp index 5657ab3e56405..1669ddb63b973 100644 --- a/Framework/MDAlgorithms/src/WeightedMeanMD.cpp +++ b/Framework/MDAlgorithms/src/WeightedMeanMD.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/WeightedMeanMD.h" #include "MantidDataObjects/MDHistoWorkspaceIterator.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/MDAlgorithms/src/XorMD.cpp b/Framework/MDAlgorithms/src/XorMD.cpp index 49336bfaf3811..f554b29f5ded2 100644 --- a/Framework/MDAlgorithms/src/XorMD.cpp +++ b/Framework/MDAlgorithms/src/XorMD.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidMDAlgorithms/XorMD.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; using namespace Mantid::API; diff --git a/Framework/Muon/src/ApplyDeadTimeCorr.cpp b/Framework/Muon/src/ApplyDeadTimeCorr.cpp index 87eae47e7886d..a3946e87a5bbc 100644 --- a/Framework/Muon/src/ApplyDeadTimeCorr.cpp +++ b/Framework/Muon/src/ApplyDeadTimeCorr.cpp @@ -11,7 +11,6 @@ #include "MantidAPI/Run.h" #include "MantidAPI/TableRow.h" #include "MantidKernel/PropertyWithValue.h" -#include "MantidKernel/System.h" #include "MantidKernel/TimeSeriesProperty.h" #include "boost/lexical_cast.hpp" diff --git a/Framework/Muon/src/MuonGroupingCounts.cpp b/Framework/Muon/src/MuonGroupingCounts.cpp index 2a8c51255af01..13c402926b65b 100644 --- a/Framework/Muon/src/MuonGroupingCounts.cpp +++ b/Framework/Muon/src/MuonGroupingCounts.cpp @@ -13,7 +13,6 @@ #include "MantidDataObjects/TableWorkspace.h" #include "MantidHistogramData/HistogramMath.h" #include "MantidKernel/ArrayProperty.h" -#include "MantidKernel/System.h" #include "MantidMuon/MuonAlgorithmHelper.h" #include diff --git a/Framework/Muon/src/MuonPreProcess.cpp b/Framework/Muon/src/MuonPreProcess.cpp index 04810b2dc86c2..1b4ce746c1348 100644 --- a/Framework/Muon/src/MuonPreProcess.cpp +++ b/Framework/Muon/src/MuonPreProcess.cpp @@ -20,7 +20,6 @@ #include "MantidKernel/CompositeValidator.h" #include "MantidKernel/ListValidator.h" #include "MantidKernel/MandatoryValidator.h" -#include "MantidKernel/System.h" #include "MantidMuon/MuonAlgorithmHelper.h" diff --git a/Framework/Nexus/src/H5Util.cpp b/Framework/Nexus/src/H5Util.cpp index 220d50d983c8a..1af177c6a42d6 100644 --- a/Framework/Nexus/src/H5Util.cpp +++ b/Framework/Nexus/src/H5Util.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidNexus/H5Util.h" #include "MantidAPI/LogManager.h" -#include "MantidKernel/System.h" #include #include diff --git a/Framework/Nexus/src/MuonNexusReader.cpp b/Framework/Nexus/src/MuonNexusReader.cpp index c2e7051b5417f..d0a79047a17ed 100644 --- a/Framework/Nexus/src/MuonNexusReader.cpp +++ b/Framework/Nexus/src/MuonNexusReader.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidNexus/MuonNexusReader.h" #include "MantidKernel/Logger.h" -#include "MantidKernel/System.h" #include #include #include diff --git a/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp b/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp index 7be8563d62651..1c638a621b068 100644 --- a/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp +++ b/Framework/WorkflowAlgorithms/src/AlignAndFocusPowder.cpp @@ -27,7 +27,6 @@ #include "MantidKernel/ListValidator.h" #include "MantidKernel/PropertyManager.h" #include "MantidKernel/PropertyManagerDataService.h" -#include "MantidKernel/System.h" using Mantid::Geometry::Instrument_const_sptr; using namespace Mantid::Kernel; diff --git a/Framework/WorkflowAlgorithms/src/DgsPreprocessData.cpp b/Framework/WorkflowAlgorithms/src/DgsPreprocessData.cpp index 9e90639ef35f6..6c5a414a4ae42 100644 --- a/Framework/WorkflowAlgorithms/src/DgsPreprocessData.cpp +++ b/Framework/WorkflowAlgorithms/src/DgsPreprocessData.cpp @@ -18,7 +18,6 @@ #include "MantidKernel/ListValidator.h" #include "MantidKernel/PropertyManager.h" #include "MantidKernel/PropertyManagerDataService.h" -#include "MantidKernel/System.h" #include "MantidKernel/VisibleWhenProperty.h" #include "MantidWorkflowAlgorithms/WorkflowAlgorithmHelpers.h" #include "Poco/Path.h" diff --git a/Framework/WorkflowAlgorithms/src/DgsReduction.cpp b/Framework/WorkflowAlgorithms/src/DgsReduction.cpp index ee8aa9f100cac..63a9d995f499e 100644 --- a/Framework/WorkflowAlgorithms/src/DgsReduction.cpp +++ b/Framework/WorkflowAlgorithms/src/DgsReduction.cpp @@ -19,7 +19,6 @@ #include "MantidKernel/PropertyManagerDataService.h" #include "MantidKernel/PropertyWithValue.h" #include "MantidKernel/RebinParamsValidator.h" -#include "MantidKernel/System.h" #include "MantidKernel/VisibleWhenProperty.h" #include diff --git a/qt/widgets/common/src/AlgorithmSelectorWidget.cpp b/qt/widgets/common/src/AlgorithmSelectorWidget.cpp index acacf5e059cee..d1e3cf06b6269 100644 --- a/qt/widgets/common/src/AlgorithmSelectorWidget.cpp +++ b/qt/widgets/common/src/AlgorithmSelectorWidget.cpp @@ -6,7 +6,6 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidQtWidgets/Common/AlgorithmSelectorWidget.h" #include "MantidAPI/AlgorithmManager.h" -#include "MantidKernel/System.h" #include "boost/algorithm/string.hpp" diff --git a/qt/widgets/common/src/BoolPropertyWidget.cpp b/qt/widgets/common/src/BoolPropertyWidget.cpp index 13bfe46f902a6..ad3b36ac2805f 100644 --- a/qt/widgets/common/src/BoolPropertyWidget.cpp +++ b/qt/widgets/common/src/BoolPropertyWidget.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidQtWidgets/Common/BoolPropertyWidget.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel; diff --git a/qt/widgets/common/src/FilePropertyWidget.cpp b/qt/widgets/common/src/FilePropertyWidget.cpp index 12542cfdc91de..b556ba2115604 100644 --- a/qt/widgets/common/src/FilePropertyWidget.cpp +++ b/qt/widgets/common/src/FilePropertyWidget.cpp @@ -6,7 +6,7 @@ // SPDX - License - Identifier: GPL - 3.0 + #include "MantidQtWidgets/Common/FilePropertyWidget.h" #include "MantidKernel/Property.h" -#include "MantidKernel/System.h" + #include "MantidQtWidgets/Common/AlgorithmInputHistory.h" #include "MantidQtWidgets/Common/FileDialogHandler.h" diff --git a/qt/widgets/common/src/ListPropertyWidget.cpp b/qt/widgets/common/src/ListPropertyWidget.cpp index ac7f24a7d89c7..97559a66758c1 100644 --- a/qt/widgets/common/src/ListPropertyWidget.cpp +++ b/qt/widgets/common/src/ListPropertyWidget.cpp @@ -7,7 +7,7 @@ #include "MantidQtWidgets/Common/ListPropertyWidget.h" #include "MantidAPI/IWorkspaceProperty.h" #include "MantidKernel/ConfigService.h" -#include "MantidKernel/System.h" + #include #include diff --git a/qt/widgets/common/src/OptionsPropertyWidget.cpp b/qt/widgets/common/src/OptionsPropertyWidget.cpp index 54d7cd2833efe..729d44bcf4680 100644 --- a/qt/widgets/common/src/OptionsPropertyWidget.cpp +++ b/qt/widgets/common/src/OptionsPropertyWidget.cpp @@ -7,7 +7,7 @@ #include "MantidQtWidgets/Common/OptionsPropertyWidget.h" #include "MantidAPI/IWorkspaceProperty.h" #include "MantidKernel/ConfigService.h" -#include "MantidKernel/System.h" + #include #include #include diff --git a/qt/widgets/common/src/PropertyWidget.cpp b/qt/widgets/common/src/PropertyWidget.cpp index 5212a1e424437..9ee6f5ea74e73 100644 --- a/qt/widgets/common/src/PropertyWidget.cpp +++ b/qt/widgets/common/src/PropertyWidget.cpp @@ -7,8 +7,8 @@ #include "MantidQtWidgets/Common/PropertyWidget.h" #include "MantidAPI/AnalysisDataService.h" #include "MantidAPI/IWorkspaceProperty.h" + #include "MantidKernel/EmptyValues.h" -#include "MantidKernel/System.h" #include #include diff --git a/qt/widgets/common/src/SyncedCheckboxes.cpp b/qt/widgets/common/src/SyncedCheckboxes.cpp index 456932011a746..90a03c2412add 100644 --- a/qt/widgets/common/src/SyncedCheckboxes.cpp +++ b/qt/widgets/common/src/SyncedCheckboxes.cpp @@ -5,7 +5,6 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidQtWidgets/Common/SyncedCheckboxes.h" -#include "MantidKernel/System.h" namespace MantidQt { namespace API { diff --git a/qt/widgets/common/src/TextPropertyWidget.cpp b/qt/widgets/common/src/TextPropertyWidget.cpp index b779cd6dc6415..bd34ae120743f 100644 --- a/qt/widgets/common/src/TextPropertyWidget.cpp +++ b/qt/widgets/common/src/TextPropertyWidget.cpp @@ -5,8 +5,8 @@ // Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS // SPDX - License - Identifier: GPL - 3.0 + #include "MantidQtWidgets/Common/TextPropertyWidget.h" + #include "MantidKernel/MaskedProperty.h" -#include "MantidKernel/System.h" using namespace Mantid::Kernel;