Commit dd9f554f authored by Hahn, Steven's avatar Hahn, Steven
Browse files

Apply changes from modernize-deprecated-headers.

parent e7e71a6d
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// Includes // Includes
//---------------------------------------------------------------------- //----------------------------------------------------------------------
#include <stdint.h> #include "MantidAPI/IMDWorkspace.h"
#include "MantidAPI/ITableWorkspace_fwd.h"
#include "MantidAPI/MDGeometry.h"
#include "MantidAPI/Workspace.h" #include "MantidAPI/Workspace.h"
#include "MantidGeometry/MDGeometry/IMDDimension.h" #include "MantidGeometry/MDGeometry/IMDDimension.h"
#include <vector>
#include <stdarg.h>
#include "MantidAPI/MDGeometry.h"
#include "MantidGeometry/MDGeometry/MDImplicitFunction.h" #include "MantidGeometry/MDGeometry/MDImplicitFunction.h"
#include "MantidAPI/IMDWorkspace.h"
#include "MantidKernel/SpecialCoordinateSystem.h" #include "MantidKernel/SpecialCoordinateSystem.h"
#include "MantidAPI/ITableWorkspace_fwd.h" #include <cstdarg>
#include <cstdint>
#include <vector>
namespace Mantid { namespace Mantid {
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
#include <boost/lexical_cast.hpp> #include <boost/lexical_cast.hpp>
#include <boost/lambda/lambda.hpp> #include <boost/lambda/lambda.hpp>
#include <sstream>
#include <algorithm> #include <algorithm>
#include <cfloat>
#include <functional> #include <functional>
#include <iterator> #include <iterator>
#include <float.h> #include <sstream>
namespace Mantid { namespace Mantid {
namespace API { namespace API {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/regex.hpp> #include <boost/regex.hpp>
#include <ctype.h> #include <cctype>
#include <functional> #include <functional>
#include <numeric> #include <numeric>
......
#include "MantidAlgorithms/CalculateSlits.h" #include "MantidAlgorithms/CalculateSlits.h"
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <math.h> #include <cmath>
namespace Mantid { namespace Mantid {
namespace Algorithms { namespace Algorithms {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "boost/shared_ptr.hpp" #include "boost/shared_ptr.hpp"
#include <assert.h> #include <cassert>
#include <map> #include <map>
#include <vector> #include <vector>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "MantidKernel/TimeSeriesProperty.h" #include "MantidKernel/TimeSeriesProperty.h"
#include "MantidKernel/V3D.h" #include "MantidKernel/V3D.h"
#include <math.h> #include <cmath>
using namespace Mantid; using namespace Mantid;
using namespace Mantid::API; using namespace Mantid::API;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Includes // Includes
//---------------------------------------------------------------------- //----------------------------------------------------------------------
#include "MantidAlgorithms/Exponential.h" #include "MantidAlgorithms/Exponential.h"
#include <math.h> #include <cmath>
using namespace Mantid::API; using namespace Mantid::API;
using namespace Mantid::Kernel; using namespace Mantid::Kernel;
......
#include "MantidAlgorithms/GravitySANSHelper.h" #include "MantidAlgorithms/GravitySANSHelper.h"
#include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/MatrixWorkspace.h"
#include "MantidGeometry/Instrument.h" #include "MantidGeometry/Instrument.h"
#include <math.h> #include <cmath>
namespace Mantid { namespace Mantid {
namespace Algorithms { namespace Algorithms {
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
#include "MantidKernel/PhysicalConstants.h" #include "MantidKernel/PhysicalConstants.h"
#include "MantidKernel/UnitFactory.h" #include "MantidKernel/UnitFactory.h"
#include <cmath>
#include <sstream> #include <sstream>
#include <math.h>
namespace Mantid { namespace Mantid {
namespace Algorithms { namespace Algorithms {
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <cmath>
#include <limits> #include <limits>
#include <math.h>
#include <numeric> #include <numeric>
#include <sstream> #include <sstream>
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
#include "MantidKernel/CompositeValidator.h" #include "MantidKernel/CompositeValidator.h"
#include "MantidKernel/EnabledWhenProperty.h" #include "MantidKernel/EnabledWhenProperty.h"
#include "MantidKernel/UnitFactory.h" #include "MantidKernel/UnitFactory.h"
#include <cmath>
#include <limits> #include <limits>
#include <map> #include <map>
#include <math.h>
namespace Mantid { namespace Mantid {
namespace Algorithms { namespace Algorithms {
......
#include "MantidAlgorithms/TOFSANSResolutionByPixelCalculator.h" #include "MantidAlgorithms/TOFSANSResolutionByPixelCalculator.h"
#include <math.h> #include <cmath>
namespace Mantid { namespace Mantid {
namespace Algorithms { namespace Algorithms {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#include "MantidCurveFitting/CostFunctions/CostFuncLeastSquares.h" #include "MantidCurveFitting/CostFunctions/CostFuncLeastSquares.h"
#include "MantidCurveFitting//Constraints/BoundaryConstraint.h" #include "MantidCurveFitting//Constraints/BoundaryConstraint.h"
#include <stdio.h> #include <cstdio>
#include <stdlib.h> #include <cstdlib>
#include <time.h> #include <ctime>
#include "MantidAPI/CostFunctionFactory.h" #include "MantidAPI/CostFunctionFactory.h"
#include "MantidAPI/FuncMinimizerFactory.h" #include "MantidAPI/FuncMinimizerFactory.h"
......
#include "MantidCurveFitting/Functions/BivariateNormal.h" #include "MantidCurveFitting/Functions/BivariateNormal.h"
#include "MantidCurveFitting/Constraints/BoundaryConstraint.h" #include "MantidAPI/FunctionFactory.h"
#include "MantidAPI/MatrixWorkspace.h" #include "MantidAPI/MatrixWorkspace.h"
#include "MantidKernel/PhysicalConstants.h"
#include "MantidAPI/ParameterTie.h" #include "MantidAPI/ParameterTie.h"
#include "MantidAPI/FunctionFactory.h" #include "MantidCurveFitting/Constraints/BoundaryConstraint.h"
#include "MantidKernel/PhysicalConstants.h"
#include "MantidKernel/System.h" #include "MantidKernel/System.h"
#include <algorithm>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <cmath>
#include <cstdio>
#include <fstream> #include <fstream>
#include <algorithm>
#include <math.h>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <cstdio>
using namespace Mantid::API; using namespace Mantid::API;
......
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
#include <gsl/gsl_fft_halfcomplex.h> #include <gsl/gsl_fft_halfcomplex.h>
#include <gsl/gsl_eigen.h> #include <gsl/gsl_eigen.h>
#include <cmath>
#include <algorithm> #include <algorithm>
#include <numeric> #include <cassert>
#include <limits> #include <cmath>
#include <functional> #include <functional>
#include <assert.h> #include <limits>
#include <numeric>
#include <sstream> #include <sstream>
namespace Mantid { namespace Mantid {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#else #else
#include <Poco/FileStream.h> #include <Poco/FileStream.h>
#include <Poco/NullStream.h> #include <Poco/NullStream.h>
#include <stdlib.h> #include <cstdlib>
#endif #endif
// jsoncpp // jsoncpp
......
#include <math.h> #include <cmath>
#include <stdio.h> #include <cstdio>
#include "MantidDataHandling/LoadBBY.h" #include "MantidDataHandling/LoadBBY.h"
#include "MantidAPI/Axis.h" #include "MantidAPI/Axis.h"
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
*/ */
struct ISISCRPT_STRUCT; struct ISISCRPT_STRUCT;
#include <stdlib.h>
#include <string.h>
#include "item_struct.h" #include "item_struct.h"
#include <cstdlib>
#include <cstring>
#ifdef _WIN32 /* _WIN32 */ #ifdef _WIN32 /* _WIN32 */
#include <time.h> #include <time.h>
#endif #endif
......
#include "item_struct.h" #include "item_struct.h"
#include <stdlib.h> #include <cstdlib>
#define FAILURE 1 #define FAILURE 1
#define SUCCESS 0 #define SUCCESS 0
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#include <Poco/File.h> #include <Poco/File.h>
#include <Poco/Thread.h> #include <Poco/Thread.h>
#include <cstdlib>
#include <nexus/NeXusFile.hpp> #include <nexus/NeXusFile.hpp>
#include <stdlib.h>
using namespace Mantid::Kernel; using namespace Mantid::Kernel;
using namespace Mantid::API; using namespace Mantid::API;
......
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