diff options
Diffstat (limited to 'src/openvic-simulation/map/Region.cpp')
-rw-r--r-- | src/openvic-simulation/map/Region.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-simulation/map/Region.cpp b/src/openvic-simulation/map/Region.cpp index 6f40338..c735279 100644 --- a/src/openvic-simulation/map/Region.cpp +++ b/src/openvic-simulation/map/Region.cpp @@ -83,6 +83,10 @@ void ProvinceSet::reserve(size_t size) { } } +void ProvinceSet::reserve_more(size_t size) { + OpenVic::reserve_more(*this, size); +} + bool ProvinceSet::contains_province(Province const* province) const { return province && std::find(provinces.begin(), provinces.end(), province) != provinces.end(); } |