diff options
author | hop311 <hop3114@gmail.com> | 2024-07-19 20:02:25 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-07-19 20:02:25 +0200 |
commit | 03647d2249f72b6545628bb844685f87c4581062 (patch) | |
tree | 435dde45bb17dc12e74cc79bd5f25cc7a7ef8dca /src/openvic-simulation/politics/NationalValue.hpp | |
parent | a673f89bb2705826b1c646365eab1775727372b7 (diff) |
Cleanup: inheritance, const movable variables, code formattingformat-cleanup
Diffstat (limited to 'src/openvic-simulation/politics/NationalValue.hpp')
-rw-r--r-- | src/openvic-simulation/politics/NationalValue.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/openvic-simulation/politics/NationalValue.hpp b/src/openvic-simulation/politics/NationalValue.hpp index 3b92f4d..b896fd7 100644 --- a/src/openvic-simulation/politics/NationalValue.hpp +++ b/src/openvic-simulation/politics/NationalValue.hpp @@ -6,12 +6,10 @@ namespace OpenVic { struct NationalValueManager; - struct NationalValue : HasIdentifier { + struct NationalValue : Modifier { friend struct NationalValueManager; private: - const ModifierValue PROPERTY(modifiers); - NationalValue(std::string_view new_identifier, ModifierValue&& new_modifiers); public: @@ -27,4 +25,4 @@ namespace OpenVic { bool load_national_values_file(ModifierManager const& modifier_manager, ast::NodeCPtr root); }; -} // namespace OpenVic +} |