replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_WORLD_CONVERTER_HPP_
|
||||
#define FILES_WORLD_CONVERTER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
@@ -61,4 +60,3 @@ public:
|
||||
);
|
||||
};
|
||||
|
||||
#endif // FILES_WORLD_CONVERTER_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_WORLD_FILES_HPP_
|
||||
#define FILES_WORLD_FILES_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <glm/glm.hpp>
|
||||
@@ -72,5 +71,3 @@ public:
|
||||
return doWriteLights;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // FILES_WORLD_FILES_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_WORLD_REGIONS_HPP_
|
||||
#define FILES_WORLD_REGIONS_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <condition_variable>
|
||||
#include <filesystem>
|
||||
@@ -213,5 +212,3 @@ public:
|
||||
/// @return false if std::invalid_argument or std::out_of_range occurred
|
||||
static bool parseRegionFilename(const std::string& name, int& x, int& y);
|
||||
};
|
||||
|
||||
#endif // FILES_WORLD_REGIONS_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_ENGINE_PATHS_HPP_
|
||||
#define FILES_ENGINE_PATHS_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <stdexcept>
|
||||
@@ -68,5 +67,3 @@ private:
|
||||
std::filesystem::path mainRoot;
|
||||
std::vector<PathsRoot> roots;
|
||||
};
|
||||
|
||||
#endif // FILES_ENGINE_PATHS_HPP_
|
||||
|
||||
+1
-4
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_FILES_HPP_
|
||||
#define FILES_FILES_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
@@ -71,5 +70,3 @@ namespace files {
|
||||
std::shared_ptr<dynamic::Map> read_toml(const fs::path& file);
|
||||
std::vector<std::string> read_list(const fs::path& file);
|
||||
}
|
||||
|
||||
#endif /* FILES_FILES_HPP_ */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef FILES_SETTINGS_IO_HPP_
|
||||
#define FILES_SETTINGS_IO_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
@@ -30,5 +29,3 @@ public:
|
||||
|
||||
std::vector<Section>& getSections();
|
||||
};
|
||||
|
||||
#endif // FILES_SETTINGS_IO_HPP_
|
||||
|
||||
Reference in New Issue
Block a user