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/research/Invention.hpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/openvic-simulation/research/Invention.hpp') diff --git a/src/openvic-simulation/research/Invention.hpp b/src/openvic-simulation/research/Invention.hpp index 881ceab..7c6c07b 100644 --- a/src/openvic-simulation/research/Invention.hpp +++ b/src/openvic-simulation/research/Invention.hpp @@ -32,9 +32,16 @@ namespace OpenVic { ConditionalWeight PROPERTY(chance); Invention( - std::string_view new_identifier, ModifierValue&& new_values, bool new_news, unit_set_t&& new_activated_units, - building_set_t&& new_activated_buildings, crime_set_t&& new_enabled_crimes, bool new_unlock_gas_attack, - bool new_unlock_gas_defence, ConditionScript&& new_limit, ConditionalWeight&& new_chance + std::string_view new_identifier, + ModifierValue&& new_values, + bool new_news, + unit_set_t&& new_activated_units, + building_set_t&& new_activated_buildings, + crime_set_t&& new_enabled_crimes, + bool new_unlock_gas_attack, + bool new_unlock_gas_defence, + ConditionScript&& new_limit, + ConditionalWeight&& new_chance ); bool parse_scripts(DefinitionManager const& definition_manager); -- cgit v1.2.3-56-ga3b1