aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/units/Unit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/units/Unit.hpp')
-rw-r--r--src/openvic-simulation/units/Unit.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvic-simulation/units/Unit.hpp b/src/openvic-simulation/units/Unit.hpp
index dc7c00f..979ae70 100644
--- a/src/openvic-simulation/units/Unit.hpp
+++ b/src/openvic-simulation/units/Unit.hpp
@@ -147,13 +147,13 @@ namespace OpenVic {
private:
IdentifierRegistry<Unit> units;
- bool _check_shared_parameters(const std::string_view identifier, UNIT_PARAMS);
+ bool _check_shared_parameters(std::string_view identifier, UNIT_PARAMS);
public:
UnitManager();
- bool add_land_unit(const std::string_view identifier, UNIT_PARAMS, LAND_PARAMS);
- bool add_naval_unit(const std::string_view identifier, UNIT_PARAMS, NAVY_PARAMS);
+ bool add_land_unit(std::string_view identifier, UNIT_PARAMS, LAND_PARAMS);
+ bool add_naval_unit(std::string_view identifier, UNIT_PARAMS, NAVY_PARAMS);
IDENTIFIER_REGISTRY_ACCESSORS(Unit, unit)
bool load_unit_file(GoodManager const& good_manager, ast::NodeCPtr root);