From f54b11d67f527d4e975b4bd04d013f0ea2974363 Mon Sep 17 00:00:00 2001 From: hop311 Date: Mon, 4 Nov 2024 00:13:42 +0000 Subject: tmp --- src/openvic-simulation/pop/Culture.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/openvic-simulation/pop') diff --git a/src/openvic-simulation/pop/Culture.hpp b/src/openvic-simulation/pop/Culture.hpp index 9fe06de..01a8268 100644 --- a/src/openvic-simulation/pop/Culture.hpp +++ b/src/openvic-simulation/pop/Culture.hpp @@ -35,6 +35,10 @@ namespace OpenVic { public: CultureGroup(CultureGroup&&) = default; + + constexpr bool has_union_country() const { + return union_country != nullptr; + } }; struct Culture : HasIdentifierAndColour { @@ -54,6 +58,10 @@ namespace OpenVic { public: Culture(Culture&&) = default; + + constexpr bool has_union_country() const { + return group.has_union_country(); + } }; struct CultureManager { -- cgit v1.2.3-56-ga3b1