aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/NationalValue.hpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
committer zaaarf <zaaarf@proton.me>2023-11-22 17:16:34 +0100
commit1683859e333f98fb63f1c72d926bb366a3b89f0b (patch)
treee11dde918a7f1f228d3383ba8f9287385e43b4f5 /src/openvic-simulation/politics/NationalValue.hpp
parent5c6caf6fbb7c606f4ebe0c397cc15c97d776f13d (diff)
chore: use PROPERTY and its variants when possible
Diffstat (limited to 'src/openvic-simulation/politics/NationalValue.hpp')
-rw-r--r--src/openvic-simulation/politics/NationalValue.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/openvic-simulation/politics/NationalValue.hpp b/src/openvic-simulation/politics/NationalValue.hpp
index 625be36..824da7e 100644
--- a/src/openvic-simulation/politics/NationalValue.hpp
+++ b/src/openvic-simulation/politics/NationalValue.hpp
@@ -10,14 +10,12 @@ namespace OpenVic {
friend struct NationalValueManager;
private:
- const ModifierValue modifiers;
+ const ModifierValue PROPERTY(modifiers);
NationalValue(std::string_view new_identifier, ModifierValue&& new_modifiers);
public:
NationalValue(NationalValue&&) = default;
-
- ModifierValue const& get_modifiers() const;
};
struct NationalValueManager {