Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused MantidKernel/System.h import #38542

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Framework/API/src/BoxController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "MantidAPI/BoxController.h"
#include "MantidKernel/Strings.h"
#include "MantidKernel/System.h"
#include "MantidKernel/VectorHelper.h"

#include <Poco/DOM/Attr.h>
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/src/BoxControllerSettingsAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion Framework/API/src/CoordTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/algorithm/string.hpp>
#include <boost/format.hpp>
Expand Down
1 change: 0 additions & 1 deletion Framework/API/src/DataProcessorAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stdexcept>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion Framework/API/src/EnabledWhenWorkspaceIsType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
1 change: 0 additions & 1 deletion Framework/API/src/IEventList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion Framework/API/src/IMDHistoWorkspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sstream>

Expand Down
2 changes: 1 addition & 1 deletion Framework/API/src/ISpectrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
2 changes: 1 addition & 1 deletion Framework/API/src/MDGeometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Poco/NObserver.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion Framework/API/src/MatrixWorkspaceMDIterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion Framework/API/src/MultipleExperimentInfos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "MantidAPI/MultipleExperimentInfos.h"
#include "MantidAPI/ExperimentInfo.h"
#include "MantidAPI/Sample.h"
#include "MantidKernel/System.h"

#include <memory>
#include <sstream>
Expand Down
1 change: 0 additions & 1 deletion Framework/API/src/MultipleFileProperty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <Poco/Path.h>
Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/AddLogDerivative.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/AddPeak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/ChangePulsetime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "MantidAlgorithms/ChangePulsetime.h"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidKernel/ArrayProperty.h"
#include "MantidKernel/System.h"

namespace Mantid::Algorithms {

Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/ChangePulsetime2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "MantidAPI/Algorithm.tcc"
#include "MantidDataObjects/EventWorkspace.h"
#include "MantidKernel/ArrayProperty.h"
#include "MantidKernel/System.h"

namespace Mantid::Algorithms {

Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/ChangeTimeZero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/lexical_cast.hpp>
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/ConvertToEventWorkspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "MantidDataObjects/Events.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidDataObjects/WorkspaceCreation.h"
#include "MantidKernel/System.h"
#include <limits>

using namespace Mantid::Kernel;
Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/CreateGroupingWorkspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/OptionalBool.h"
#include "MantidKernel/Strings.h"
#include "MantidKernel/System.h"

#include <boost/algorithm/string/detail/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/trim.hpp>
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/CreatePeaksWorkspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidGeometry/Instrument/Goniometer.h"
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/System.h"

namespace Mantid::Algorithms {

Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/ExportTimeSeriesLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
#include <fstream>
#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/FilterEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <MantidKernel/InvisibleProperty.h>

#include <memory>
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/GenerateIPythonNotebook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "MantidAPI/NotebookBuilder.h"
#include "MantidAPI/Workspace.h"
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/System.h"

#include <fstream>

Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/GeneratePythonScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "MantidAPI/Workspace.h"
#include "MantidKernel/ListValidator.h"
#include "MantidKernel/MantidVersion.h"
#include "MantidKernel/System.h"

#include <fstream>

Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/MaskBinsFromTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/RayTracerTester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cmath>
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/ResetNegatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/ResizeRectangularDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Framework/Algorithms/src/ShiftLogTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sstream>
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/SignalOverError.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/SortXAxis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions Framework/Algorithms/src/UnaryOperation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidAPI/WorkspaceProperty.h"
#include "MantidDataObjects/EventWorkspace.h"

#include "MantidDataObjects/RebinnedOutput.h"

using namespace Mantid::API;
Expand Down
1 change: 0 additions & 1 deletion Framework/Algorithms/src/WeightingStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cmath>
#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion Framework/CurveFitting/src/Algorithms/LeBailFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sstream>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include "MantidKernel/Exception.h"
#include "MantidKernel/Logger.h"
#include "MantidKernel/System.h"

#include <gsl/gsl_blas.h>
#include <gsl/gsl_version.h>
Expand Down
6 changes: 3 additions & 3 deletions Framework/CurveFitting/src/Functions/BivariateNormal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
#include <cmath>
Expand Down
1 change: 0 additions & 1 deletion Framework/CurveFitting/src/Functions/Bk2BkExpConvPV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <gsl/gsl_sf_erf.h>
Expand Down
1 change: 0 additions & 1 deletion Framework/CurveFitting/src/Functions/FlatBackground.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion Framework/CurveFitting/src/Functions/ProcessBackground.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <algorithm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpAlpha.h"
#include "MantidAPI/FunctionFactory.h"
#include "MantidKernel/System.h"

#include <cmath>
#include <gsl/gsl_sf_erf.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpBeta.h"
#include "MantidAPI/FunctionFactory.h"
#include "MantidKernel/System.h"

#include <cmath>
#include <gsl/gsl_sf_erf.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidCurveFitting/Functions/ThermalNeutronBk2BkExpSigma.h"
#include "MantidAPI/FunctionFactory.h"
#include "MantidKernel/System.h"

#include <cmath>
#include <gsl/gsl_sf_erf.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "MantidCurveFitting/Functions/ThermalNeutronDtoTOFFunction.h"
#include "MantidAPI/FunctionDomain1D.h"
#include "MantidAPI/FunctionFactory.h"
#include "MantidKernel/System.h"
#include <cmath>
#include <gsl/gsl_sf_erf.h>

Expand Down
2 changes: 1 addition & 1 deletion Framework/DataHandling/src/LoadCalFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "MantidDataObjects/OffsetsWorkspace.h"
#include "MantidDataObjects/Workspace2D.h"
#include "MantidKernel/OptionalBool.h"
#include "MantidKernel/System.h"

#include <Poco/Path.h>
#include <fstream>

Expand Down
1 change: 0 additions & 1 deletion Framework/DataHandling/src/LoadDNSEvent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "MantidKernel/BoundedValidator.h"
#include "MantidKernel/OptionalBool.h"
#include "MantidKernel/Strings.h"
#include "MantidKernel/System.h"
#include <stdexcept>
#include <vector>

Expand Down
Loading
Loading