diff options
author | zaaarf <80046572+zaaarf@users.noreply.github.com> | 2023-12-27 23:59:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-27 23:59:44 +0100 |
commit | c994cf687ee90879275f917248c0c7c2b25275e2 (patch) | |
tree | 69ac3c177a57f6091bb07e0d774151a5677dd1cb /src/openvic-simulation/map/Region.cpp | |
parent | 0d9343e62575b5b7968beea2d36f15541e2351e2 (diff) | |
parent | 3bf0ce9bfaad1e40ffeeed3d66ca2e628fea8e29 (diff) |
Merge pull request #108 from OpenVicProject/dataloading-map-climate-continent
Dataloading climate and continents
Diffstat (limited to 'src/openvic-simulation/map/Region.cpp')
-rw-r--r-- | src/openvic-simulation/map/Region.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Region.cpp b/src/openvic-simulation/map/Region.cpp index e356c89..6f40338 100644 --- a/src/openvic-simulation/map/Region.cpp +++ b/src/openvic-simulation/map/Region.cpp @@ -94,6 +94,9 @@ ProvinceSet::provinces_t const& ProvinceSet::get_provinces() const { Region::Region(std::string_view new_identifier, colour_t new_colour, bool new_meta) : HasIdentifierAndColour { new_identifier, new_colour, false }, meta { new_meta } {} +ProvinceSetModifier::ProvinceSetModifier(std::string_view new_identifier, ModifierValue&& new_values) + : Modifier { new_identifier, std::move(new_values), 0 } {} + bool Region::get_meta() const { return meta; } |