diff options
author | Hop311 <Hop3114@gmail.com> | 2023-10-29 21:14:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 21:14:55 +0100 |
commit | 06cc0606156d009026930c785c62434276fbe782 (patch) | |
tree | d37fcb69766ec029ea4e3e2816c419f9d7e05f7c /src/openvic-simulation/misc/Define.hpp | |
parent | d8ec90f07342876e9331819bd3cc372050f78248 (diff) | |
parent | 1b5e43fa7750cc4025d32f18390593cbce3ba842 (diff) |
Merge pull request #67 from OpenVicProject/format
Formating
Diffstat (limited to 'src/openvic-simulation/misc/Define.hpp')
-rw-r--r-- | src/openvic-simulation/misc/Define.hpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/openvic-simulation/misc/Define.hpp b/src/openvic-simulation/misc/Define.hpp index 9b768b7..0db9716 100644 --- a/src/openvic-simulation/misc/Define.hpp +++ b/src/openvic-simulation/misc/Define.hpp @@ -12,26 +12,13 @@ namespace OpenVic { struct Define : HasIdentifier { friend struct DefineManager; - enum class Type : unsigned char { - None, - Country, - Economy, - Military, - Diplomacy, - Pops, - Ai, - Graphics - }; + enum class Type : unsigned char { None, Country, Economy, Military, Diplomacy, Pops, Ai, Graphics }; private: std::string HASID_PROPERTY(value); Type HASID_PROPERTY(type); - Define( - std::string_view new_identifier, - std::string&& new_value, - Type new_type - ); + Define(std::string_view new_identifier, std::string&& new_value, Type new_type); public: Define(Define&&) = default; @@ -60,4 +47,4 @@ namespace OpenVic { bool load_defines_file(ast::NodeCPtr root); }; -}
\ No newline at end of file +} |