aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Government.hpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-10-03 17:17:08 +0200
committer Joel Machens <ajmach6@gmail.com>2023-10-03 23:55:53 +0200
commit3a691705be925011fac5172c5f2b374262ec2122 (patch)
tree16a62a1f34b1fca3614985119aee87bce93de5dc /src/openvic-simulation/politics/Government.hpp
parentc7eac74bb550c28be9eb75742f25d974b7742634 (diff)
Finish Government Type Loading
Diffstat (limited to 'src/openvic-simulation/politics/Government.hpp')
-rw-r--r--src/openvic-simulation/politics/Government.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/politics/Government.hpp b/src/openvic-simulation/politics/Government.hpp
index a124780..a3642fb 100644
--- a/src/openvic-simulation/politics/Government.hpp
+++ b/src/openvic-simulation/politics/Government.hpp
@@ -10,7 +10,7 @@ namespace OpenVic {
friend struct GovernmentTypeManager;
private:
- const std::vector<std::string> ideologies;
+ std::vector<std::string> ideologies;
const bool elections, appoint_ruling_party;
const uint16_t election_duration;
const std::string_view flag_type_identifier;
@@ -37,6 +37,6 @@ namespace OpenVic {
bool add_government_type(std::string_view identifier, std::vector<std::string> ideologies, bool elections, bool appoint_ruling_party, uint16_t election_duration, std::string_view flag_type);
IDENTIFIER_REGISTRY_ACCESSORS(GovernmentType, government_type)
- bool load_government_types_file(ast::NodeCPtr root);
+ bool load_government_types_file(IdeologyManager& ideology_manager, ast::NodeCPtr root);
};
} // namespace OpenVic