diff options
Diffstat (limited to 'src/openvic-simulation/politics')
-rw-r--r-- | src/openvic-simulation/politics/Ideology.cpp | 2 | ||||
-rw-r--r-- | src/openvic-simulation/politics/Ideology.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/politics/Ideology.cpp b/src/openvic-simulation/politics/Ideology.cpp index acbd82f..5721a57 100644 --- a/src/openvic-simulation/politics/Ideology.cpp +++ b/src/openvic-simulation/politics/Ideology.cpp @@ -23,7 +23,7 @@ bool Ideology::get_can_reduce_militancy() const { return can_reduce_militancy; } -Date const& Ideology::get_spawn_date() const { +Date Ideology::get_spawn_date() const { return spawn_date; } diff --git a/src/openvic-simulation/politics/Ideology.hpp b/src/openvic-simulation/politics/Ideology.hpp index 046dbc9..bdf9f91 100644 --- a/src/openvic-simulation/politics/Ideology.hpp +++ b/src/openvic-simulation/politics/Ideology.hpp @@ -36,7 +36,7 @@ namespace OpenVic { IdeologyGroup const& get_group() const; bool is_uncivilised() const; bool get_can_reduce_militancy() const; - Date const& get_spawn_date() const; + Date get_spawn_date() const; }; struct IdeologyManager { |