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

Apply changes from modernize-deprecated-headers.

parent e7e71a6d
......@@ -6,7 +6,7 @@
#include "MantidKernel/BoundedValidator.h"
#include "MantidAPI/TableRow.h"
#include <stdio.h>
#include <cstdio>
using namespace Mantid;
using namespace Mantid::API;
......
......@@ -24,9 +24,9 @@
#include <Poco/File.h>
//#include <hdf5.h> //This is troublesome on multiple platforms.
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <cstdlib>
#include <cstring>
#include <ctime>
namespace Mantid {
namespace DataHandling {
......
......@@ -15,7 +15,7 @@
#include <boost/scoped_ptr.hpp>
#include <math.h>
#include <cmath>
using namespace Mantid::PhysicalConstants;
......
......@@ -7,9 +7,9 @@
#include "MantidKernel/Logger.h"
#include <cfloat>
#include <cmath>
#include <functional>
#include <limits>
#include <math.h>
#include <stdexcept>
using std::ostream;
......
#include <stdexcept>
#include "MantidDataObjects/Events.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidDataObjects/EventList.h"
#include "MantidDataObjects/Events.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/Exception.h"
#include <cmath>
#include <functional>
#include <math.h>
#include <stdexcept>
using std::ostream;
using std::runtime_error;
......
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidAPI/AlgorithmFactory.h"
#include "MantidAPI/Column.h"
#include "MantidAPI/ColumnFactory.h"
#include "MantidGeometry/Instrument/Goniometer.h"
#include "MantidAPI/MatrixWorkspace.h"
#include <nexus/NeXusException.hpp>
#include <nexus/NeXusFile.hpp>
#include "MantidAPI/WorkspaceFactory.h"
#include "MantidAPI/WorkspaceProperty.h"
#include "MantidDataObjects/PeaksWorkspace.h"
#include "MantidDataObjects/Peak.h"
#include "MantidDataObjects/TableColumn.h"
#include "MantidDataObjects/TableWorkspace.h"
#include "MantidDataObjects/Peak.h"
#include "MantidKernel/Quat.h"
#include "MantidKernel/V3D.h"
#include "MantidGeometry/Crystal/OrientedLattice.h"
#include "MantidGeometry/Instrument/Goniometer.h"
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/Logger.h"
#include "MantidKernel/PhysicalConstants.h"
#include "MantidKernel/Quat.h"
#include "MantidKernel/Unit.h"
#include "MantidGeometry/Crystal/OrientedLattice.h"
#include "MantidKernel/V3D.h"
#include <algorithm>
#include <boost/shared_ptr.hpp>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <exception>
#include <fstream>
#include <math.h>
#include <nexus/NeXusException.hpp>
#include <nexus/NeXusFile.hpp>
#include <ostream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
using namespace Mantid::API;
......
#ifndef TCP_EVENT_STREAM_DEFS_H
#define TCP_EVENT_STREAM_DEFS_H
#include <cstdint>
#include <cstring>
#include <stdint.h>
#include <time.h>
#include <ctime>
#include <vector>
// to ignore warnings when comparing header versions
......
......@@ -5,12 +5,12 @@
// Includes
//----------------------------------------------------------------------
#include "MantidKernel/DllConfig.h"
#include <vector>
#include <functional>
#include <cmath>
#include <stdio.h>
#include <math.h>
#include <cmath>
#include <cstdio>
#include <functional>
#include <numeric>
#include <vector>
namespace Mantid {
namespace Kernel {
......
......@@ -12,12 +12,12 @@
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#endif
#include <map>
#include <stdint.h>
#include <vector>
#include <list>
#include <cstdint>
#include <limits>
#include <list>
#include <map>
#include <mutex>
#include <vector>
namespace Mantid {
namespace Kernel {
......
......@@ -4,16 +4,16 @@
//----------------------------------------------------------------------
// Includes
//----------------------------------------------------------------------
#include "MantidKernel/Property.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/DateAndTime.h"
#include "MantidKernel/DllConfig.h"
#include "MantidKernel/Exception.h"
#include "MantidKernel/Property.h"
#include "MantidKernel/Unit.h"
#include <cctype>
#include <cstdlib>
#include <map>
#include <vector>
#include <sstream>
#include <stdlib.h>
#include <cctype>
#include <vector>
namespace Mantid {
namespace Kernel {
......
......@@ -94,7 +94,7 @@
* not available
*/
#ifdef HAVE_STDINT_H
#include <stdint.h>
#include <cstdint>
#else
#ifdef BOOST_CSTDINT_HPP
#include <cstdint.hpp>
......
#include <cfloat>
#include <cmath>
#include <float.h>
#include <vector>
#include "MantidKernel/V3D.h"
......
#ifndef __ADARA_PACKETS_H
#define __ADARA_PACKETS_H
#include <stdint.h>
#include <string>
#include <cstdint>
#include <cstring>
#include <sstream>
#include <string.h>
#include <string>
#include "ADARA.h"
#include "MantidKernel/System.h"
......
#ifndef __ADARA_PARSER_H
#define __ADARA_PARSER_H
#include <string>
#include <stdint.h>
#include <stdexcept>
#include <cstdint>
#include <map>
#include <stdexcept>
#include <string>
#include "ADARA.h"
#include "ADARAPackets.h"
......
#ifndef TCP_EVENT_STREAM_DEFS_H
#define TCP_EVENT_STREAM_DEFS_H
#include <cstdint>
#include <cstring>
#include <stdint.h>
#include <time.h>
#include <ctime>
#include <vector>
// to ignore warnings when comparing header versions
......
#include "MantidLiveData/ADARA/ADARAPackets.h"
#include <boost/lexical_cast.hpp>
#include <string.h>
#include <cstring>
using namespace ADARA;
......
#include <cstring>
#include <sstream>
#include <string.h>
#include "MantidLiveData/ADARA/ADARAParser.h"
......
......@@ -14,12 +14,12 @@
GNU General Public License
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "MantidKernel/System.h"
#include "idc.h"
#include "MantidKernel/System.h"
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
///@cond nodoc
/** used to keep status information about the DAE connection */
......
......@@ -29,9 +29,9 @@
///@cond nodoc
#include <stdio.h>
#include "MantidKernel/System.h"
#include "isisds_command.h"
#include "MantidKernel/System.h"
#include <cstdio>
/*
* versions of these structures
......@@ -43,17 +43,17 @@
#ifndef _WIN32
#define closesocket close
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <unistd.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <unistd.h>
#endif
/** Try to align to 64 bit (8 bytes) boundaries
......
#include <time.h>
#include <ctime>
#include <exception>
#include <sstream> // for ostringstream
#include <string>
#include <exception>
#include "MantidAPI/AlgorithmManager.h"
#include "MantidAPI/Axis.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment