Skip to content
Snippets Groups Projects
Unverified Commit d0e9e915 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Merge pull request #28327 from mantidproject/28200_replace_tools_header_guards

Replace header guards in tools with pragma once.
parents 432670d4 1718f275
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef ASSREADER_H_ #pragma once
#define ASSREADER_H_
#include <fstream> #include <fstream>
#include <string> #include <string>
...@@ -24,5 +23,3 @@ public: ...@@ -24,5 +23,3 @@ public:
private: private:
std::ifstream m_assfile; std::ifstream m_assfile;
}; };
#endif
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef COMPONENT_H_ #pragma once
#define COMPONENT_H_
#include <string> #include <string>
#include <vector> #include <vector>
...@@ -58,5 +57,3 @@ private: ...@@ -58,5 +57,3 @@ private:
double m_r, m_theta, m_phi; double m_r, m_theta, m_phi;
//Mantid::Geometry::V3D m_pos; //Mantid::Geometry::V3D m_pos;
}; };
#endif
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef DATREADER_H_ #pragma once
#define DATREADER_H_
#include <fstream> #include <fstream>
#include <string> #include <string>
...@@ -24,5 +23,3 @@ public: ...@@ -24,5 +23,3 @@ public:
private: private:
std::ifstream m_datfile; std::ifstream m_datfile;
}; };
#endif
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
// NScD Oak Ridge National Laboratory, European Spallation Source // NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin // & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 + // SPDX - License - Identifier: GPL - 3.0 +
#ifndef XMLWRITER_H_ #pragma once
#define XMLWRITER_H_
#include <string> #include <string>
#include <fstream> #include <fstream>
...@@ -27,5 +26,3 @@ private: ...@@ -27,5 +26,3 @@ private:
std::ofstream m_outputFile; std::ofstream m_outputFile;
Component* const m_startPoint; Component* const m_startPoint;
}; };
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment