From e91ce707b2c0e80591b9fd1b6a5215e6e6989df8 Mon Sep 17 00:00:00 2001 From: hop311 Date: Sun, 29 Oct 2023 23:06:10 +0000 Subject: Stop passing Dates by reference --- src/openvic-simulation/country/Country.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/country/Country.cpp') 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; } -- cgit v1.2.3-56-ga3b1