aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Government.cpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
committer zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
commit1683859e333f98fb63f1c72d926bb366a3b89f0b (patch)
treee11dde918a7f1f228d3383ba8f9287385e43b4f5 /src/openvic-simulation/politics/Government.cpp
parent5c6caf6fbb7c606f4ebe0c397cc15c97d776f13d (diff)
chore: use PROPERTY and its variants when possible
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(