aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Government.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/politics/Government.hpp')
-rw-r--r--src/openvic-simulation/politics/Government.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/openvic-simulation/politics/Government.hpp b/src/openvic-simulation/politics/Government.hpp
index 025e238..4682bbf 100644
--- a/src/openvic-simulation/politics/Government.hpp
+++ b/src/openvic-simulation/politics/Government.hpp
@@ -28,17 +28,14 @@ namespace OpenVic {
struct GovernmentTypeManager {
private:
- IdentifierRegistry<GovernmentType> government_types;
+ IdentifierRegistry<GovernmentType> IDENTIFIER_REGISTRY(government_type);
std::vector<std::string> PROPERTY(flag_types);
public:
- GovernmentTypeManager();
-
bool add_government_type(
std::string_view identifier, std::vector<Ideology const*>&& ideologies, bool elections, bool appoint_ruling_party,
Timespan term_duration, std::string_view flag_type
);
- IDENTIFIER_REGISTRY_ACCESSORS(government_type)
bool load_government_types_file(IdeologyManager const& ideology_manager, ast::NodeCPtr root);
};