aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/map/Region.hpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-05-22 11:26:37 +0200
committer Hop311 <hop3114@gmail.com>2023-05-22 11:26:37 +0200
commit212d591c31f4200b06d38e98b23c5c2bccde1772 (patch)
tree6a9964038de099006036c693b49080bf544d3747 /src/openvic/map/Region.hpp
parent15e960f93ced8c94a6a45ebb2b44d0705ff7f8f6 (diff)
Formatting / style cleanup
Diffstat (limited to 'src/openvic/map/Region.hpp')
-rw-r--r--src/openvic/map/Region.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvic/map/Region.hpp b/src/openvic/map/Region.hpp
index 953a3cc..331d883 100644
--- a/src/openvic/map/Region.hpp
+++ b/src/openvic/map/Region.hpp
@@ -7,6 +7,7 @@ namespace OpenVic {
struct ProvinceSet {
protected:
std::vector<Province*> provinces;
+
public:
size_t get_province_count() const;
bool contains_province(Province const* province) const;
@@ -18,8 +19,10 @@ namespace OpenVic {
*/
struct Region : HasIdentifier, ProvinceSet {
friend struct Map;
+
private:
Region(std::string const& new_identifier);
+
public:
Region(Region&&) = default;