diff options
author | Hop311 <Hop3114@gmail.com> | 2024-07-19 21:35:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 21:35:31 +0200 |
commit | d1f3a96b72dd06b5f97dd4643e5f016a02b42ea6 (patch) | |
tree | 38015e5729afbb98cf520e2cf26d8a4623d32f2f /src/openvic-simulation/politics/NationalValue.hpp | |
parent | e0518bee9b4c164f40716a8033b5e207c2060c0b (diff) | |
parent | 03647d2249f72b6545628bb844685f87c4581062 (diff) |
Merge pull request #176 from OpenVicProject/format-cleanup
Cleanup: inheritance, const movable variables, code formatting
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 +} |