summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tile-editor.hpp')
-rw-r--r--editor/tile-editor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/tile-editor.hpp b/editor/tile-editor.hpp
index 9593139c..5c90ff3d 100644
--- a/editor/tile-editor.hpp
+++ b/editor/tile-editor.hpp
@@ -6,7 +6,7 @@
#include <memory>
#include <vector>
#include <map>
-#include <Corrade/Containers/String.h>
+#include <Corrade/Containers/StringView.h>
namespace floormat {
@@ -25,7 +25,7 @@ private:
};
String _name;
- std::map<std::string, std::shared_ptr<tile_atlas>> _atlases;
+ std::map<StringView, std::shared_ptr<tile_atlas>> _atlases;
tile_image_proto _selected_tile;
tuple _permutation;
selection_mode _selection_mode = sel_none;