From 03647d2249f72b6545628bb844685f87c4581062 Mon Sep 17 00:00:00 2001 From: hop311 Date: Fri, 19 Jul 2024 19:02:25 +0100 Subject: Cleanup: inheritance, const movable variables, code formatting --- src/openvic-simulation/politics/NationalValue.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/openvic-simulation/politics/NationalValue.hpp') 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 +} -- cgit v1.2.3-56-ga3b1