aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Province.hpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2023-12-27 21:40:01 +0100
committer GitHub <noreply@github.com>2023-12-27 21:40:01 +0100
commit0d9343e62575b5b7968beea2d36f15541e2351e2 (patch)
tree78e0431edc32edb50be206ad78064eb28879342a /src/openvic-simulation/map/Province.hpp
parentcc808c115d8ec6c7b6e47db47f81395b4d52941f (diff)
parent86e558e69aa5c34395d5f3b17566cf5ad2731af5 (diff)
Merge pull request #109 from OpenVicProject/const-province-set
Made ProvinceSet use Province const* and updated Region loading
Diffstat (limited to 'src/openvic-simulation/map/Province.hpp')
-rw-r--r--src/openvic-simulation/map/Province.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Province.hpp b/src/openvic-simulation/map/Province.hpp
index 8a9f9e9..58fe29e 100644
--- a/src/openvic-simulation/map/Province.hpp
+++ b/src/openvic-simulation/map/Province.hpp
@@ -87,7 +87,7 @@ namespace OpenVic {
private:
/* Immutable attributes (unchanged after initial game load) */
const index_t PROPERTY(index);
- Region* PROPERTY(region);
+ Region const* PROPERTY(region);
bool PROPERTY(on_map);
bool PROPERTY(has_region);
bool PROPERTY_CUSTOM_PREFIX(water, is);