From fe74604d96d1d28b811ebe45d1d06356cf79bc6f Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 12 Aug 2023 17:56:14 +0100 Subject: string_view changes + general cleanup --- extension/src/GameSingleton.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/src/GameSingleton.hpp') diff --git a/extension/src/GameSingleton.hpp b/extension/src/GameSingleton.hpp index c4e90e0..cd8cdd0 100644 --- a/extension/src/GameSingleton.hpp +++ b/extension/src/GameSingleton.hpp @@ -12,7 +12,7 @@ namespace OpenVic { private: const godot::Ref image; - TerrainVariant(std::string const& new_identfier, colour_t new_colour, + TerrainVariant(const std::string_view new_identfier, colour_t new_colour, godot::Ref const& new_image); public: static constexpr size_t MAX_INDEX = 1 << (8 * sizeof(Map::terrain_t)); -- cgit v1.2.3-56-ga3b1