replace include guards with pragma once

This commit is contained in:
MihailRis
2024-08-10 01:57:59 +03:00
parent f43cc93cd2
commit de5c75d782
164 changed files with 166 additions and 656 deletions
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DATA_DYNAMIC_HPP_
#define DATA_DYNAMIC_HPP_
#pragma once
#include <cmath>
#include <memory>
@@ -163,5 +162,3 @@ namespace dynamic {
std::ostream& operator<<(std::ostream& stream, const dynamic::Value& value);
std::ostream& operator<<(std::ostream& stream, const dynamic::Map_sptr& value);
std::ostream& operator<<(std::ostream& stream, const dynamic::List_sptr& value);
#endif // DATA_DYNAMIC_HPP_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DATA_DYNAMIC_FWD_HPP_
#define DATA_DYNAMIC_FWD_HPP_
#pragma once
#include <functional>
#include <memory>
@@ -30,5 +29,3 @@ namespace dynamic {
using to_string_func = std::function<std::string(const Value&)>;
}
#endif // DATA_DYNAMIC_FWD_HPP_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DATA_DYNAMIC_UTIL_HPP_
#define DATA_DYNAMIC_UTIL_HPP_
#pragma once
#include <glm/glm.hpp>
@@ -78,5 +77,3 @@ namespace dynamic {
}
}
}
#endif // DATA_DYNAMIC_UTIL_HPP_
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DATA_SETTING_HPP_
#define DATA_SETTING_HPP_
#pragma once
#include <limits>
#include <string>
@@ -174,5 +173,3 @@ public:
virtual std::string toString() const override;
};
#endif // DATA_SETTING_HPP_