aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Building.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/Building.hpp')
-rw-r--r--src/openvic-simulation/map/Building.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/map/Building.hpp b/src/openvic-simulation/map/Building.hpp
index 9b11c1c..1c2ded0 100644
--- a/src/openvic-simulation/map/Building.hpp
+++ b/src/openvic-simulation/map/Building.hpp
@@ -103,7 +103,7 @@ namespace OpenVic {
friend struct BuildingManager;
private:
- BuildingType(const std::string_view new_identifier);
+ BuildingType(std::string_view new_identifier);
public:
BuildingType(BuildingType&&) = default;
@@ -161,7 +161,7 @@ namespace OpenVic {
public:
BuildingManager();
- bool add_building_type(const std::string_view identifier);
+ bool add_building_type(std::string_view identifier);
IDENTIFIER_REGISTRY_ACCESSORS(BuildingType, building_type)
bool add_building(std::string_view identifier, ARGS);