diff options
author | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-09-22 15:16:35 +0200 |
---|---|---|
committer | wvpm <24685035+wvpm@users.noreply.github.com> | 2024-09-22 15:16:35 +0200 |
commit | cf3bbdfddaf05f0439e9aeb6cce9d2bef5b47f53 (patch) | |
tree | be61fd166f76a4ec92fd0fb3e324fb188171509b /src/openvic-simulation/pop/Pop.hpp | |
parent | d7f839a887ef6a19c935a59cad2697712d3b948a (diff) |
Convert pops to equivalents & calculate rgo size
Diffstat (limited to 'src/openvic-simulation/pop/Pop.hpp')
-rw-r--r-- | src/openvic-simulation/pop/Pop.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/pop/Pop.hpp b/src/openvic-simulation/pop/Pop.hpp index 59a7794..ec8b955 100644 --- a/src/openvic-simulation/pop/Pop.hpp +++ b/src/openvic-simulation/pop/Pop.hpp @@ -35,7 +35,7 @@ namespace OpenVic { using pop_size_t = int32_t; protected: - PopType const& PROPERTY_ACCESS(type, protected); + PopType const* PROPERTY_ACCESS(type, protected); Culture const& PROPERTY_ACCESS(culture, protected); Religion const& PROPERTY_ACCESS(religion, protected); pop_size_t PROPERTY_ACCESS(size, protected); @@ -95,6 +95,7 @@ namespace OpenVic { Pop& operator=(Pop&&) = delete; void setup_pop_test_values(IssueManager const& issue_manager); + void convert_to_equivalent(); void set_location(ProvinceInstance const& new_location); |