From d236dcf30c001e540377184565f4d173ed56f76e Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Sat, 6 Jul 2024 10:40:57 -0400 Subject: Optimize some string interning cases --- src/openvic-simulation/military/UnitType.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/openvic-simulation/military/UnitType.hpp') diff --git a/src/openvic-simulation/military/UnitType.hpp b/src/openvic-simulation/military/UnitType.hpp index 095a759..1642f22 100644 --- a/src/openvic-simulation/military/UnitType.hpp +++ b/src/openvic-simulation/military/UnitType.hpp @@ -3,9 +3,11 @@ #include #include -#include "openvic-simulation/misc/Modifier.hpp" +#include + #include "openvic-simulation/dataloader/NodeTools.hpp" #include "openvic-simulation/economy/GoodDefinition.hpp" +#include "openvic-simulation/misc/Modifier.hpp" #include "openvic-simulation/types/Date.hpp" #include "openvic-simulation/types/IdentifierRegistry.hpp" #include "openvic-simulation/types/fixed_point/FixedPoint.hpp" @@ -191,7 +193,7 @@ namespace OpenVic { bool load_unit_type_file( GoodDefinitionManager const& good_definition_manager, TerrainTypeManager const& terrain_type_manager, - ModifierManager const& modifier_manager, ast::NodeCPtr root + ModifierManager const& modifier_manager, ovdl::v2script::Parser const& parser ); bool generate_modifiers(ModifierManager& modifier_manager) const; }; -- cgit v1.2.3-56-ga3b1