diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-10 23:15:41 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-10 23:15:41 +0100 |
commit | 4ef33d4df6198e613b0f27406d49978c8ea2fb97 (patch) | |
tree | 7f07835485b877f3c01c52c188892499e5812f9b /src/openvic-simulation/military/Wargoal.hpp | |
parent | 1eb28bd4fb959b69a30013f6438f0257a2ee7b03 (diff) |
feat: improved identifier registry macro
Diffstat (limited to 'src/openvic-simulation/military/Wargoal.hpp')
-rw-r--r-- | src/openvic-simulation/military/Wargoal.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/openvic-simulation/military/Wargoal.hpp b/src/openvic-simulation/military/Wargoal.hpp index f696511..66fce90 100644 --- a/src/openvic-simulation/military/Wargoal.hpp +++ b/src/openvic-simulation/military/Wargoal.hpp @@ -87,12 +87,10 @@ namespace OpenVic { struct WargoalTypeManager { private: - IdentifierRegistry<WargoalType> wargoal_types; + IdentifierRegistry<WargoalType> IDENTIFIER_REGISTRY(wargoal_type); std::vector<WargoalType const*> PROPERTY(peace_priorities); public: - WargoalTypeManager(); - const std::vector<WargoalType const*>& get_peace_priority_list() const; bool add_wargoal_type( @@ -110,7 +108,6 @@ namespace OpenVic { WargoalType::peace_modifiers_t&& modifiers, peace_options_t peace_options ); - IDENTIFIER_REGISTRY_ACCESSORS(wargoal_type) bool load_wargoal_file(ast::NodeCPtr root); }; |