aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Government.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-11-22 23:11:42 +0100
committer GitHub <noreply@github.com>2023-11-22 23:11:42 +0100
commita54898b7770e0d66b729216173960686c67e58bb (patch)
treeaf8ed836a4789ef94c5bfed27abb713922f45af3 /src/openvic-simulation/politics/Government.cpp
parente76336cd92639f4ec71088fc4c80aea4c25528cd (diff)
parent738a203e0d8b4df87c42888043b99c13d5d97511 (diff)
Merge pull request #78 from OpenVicProject/property-macro
Refactoring (*mostly* related to the property macro)
Diffstat (limited to 'src/openvic-simulation/politics/Government.cpp')
-rw-r--r--src/openvic-simulation/politics/Government.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/openvic-simulation/politics/Government.cpp b/src/openvic-simulation/politics/Government.cpp
index 3b0f28d..0d1d063 100644
--- a/src/openvic-simulation/politics/Government.cpp
+++ b/src/openvic-simulation/politics/Government.cpp
@@ -16,26 +16,6 @@ bool GovernmentType::is_ideology_compatible(Ideology const* ideology) const {
return std::find(ideologies.begin(), ideologies.end(), ideology) != ideologies.end();
}
-std::vector<Ideology const*> const& GovernmentType::get_ideologies() const {
- return ideologies;
-}
-
-bool GovernmentType::holds_elections() const {
- return elections;
-}
-
-bool GovernmentType::can_appoint_ruling_party() const {
- return appoint_ruling_party;
-}
-
-Timespan GovernmentType::get_term_duration() const {
- return term_duration;
-}
-
-std::string_view GovernmentType::get_flag_type() const {
- return flag_type_identifier;
-}
-
GovernmentTypeManager::GovernmentTypeManager() : government_types { "government types" } {}
bool GovernmentTypeManager::add_government_type(