aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/country
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/country')
-rw-r--r--src/openvic-simulation/country/Country.cpp4
-rw-r--r--src/openvic-simulation/country/Country.hpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/openvic-simulation/country/Country.cpp b/src/openvic-simulation/country/Country.cpp
index 885340d..b2c4a71 100644
--- a/src/openvic-simulation/country/Country.cpp
+++ b/src/openvic-simulation/country/Country.cpp
@@ -27,11 +27,11 @@ CountryParty::CountryParty(
) : HasIdentifier { new_identifier }, start_date { new_start_date }, end_date { new_end_date }, ideology { new_ideology },
policies { std::move(new_policies) } {}
-Date const& CountryParty::get_start_date() const {
+Date CountryParty::get_start_date() const {
return start_date;
}
-Date const& CountryParty::get_end_date() const {
+Date CountryParty::get_end_date() const {
return end_date;
}
diff --git a/src/openvic-simulation/country/Country.hpp b/src/openvic-simulation/country/Country.hpp
index b1bbf2b..1ab0e7e 100644
--- a/src/openvic-simulation/country/Country.hpp
+++ b/src/openvic-simulation/country/Country.hpp
@@ -47,8 +47,8 @@ namespace OpenVic {
public:
CountryParty(CountryParty&&) = default;
- const Date& get_start_date() const;
- const Date& get_end_date() const;
+ Date get_start_date() const;
+ Date get_end_date() const;
Ideology const& get_ideology() const;
policy_map_t const& get_policies() const;
};