summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-10 11:59:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-10 11:59:20 +0100
commit4c5ee43dcc535c8ef84f042b252ff6d4e724754d (patch)
tree6d7664059beb5df93261cdf5bfd94012af41416a /editor/tile-editor.cpp
parent50bddb29135723b6b2a825302d239ebf8ed7fb9f (diff)
fix no-pch msvc build
Diffstat (limited to 'editor/tile-editor.cpp')
-rw-r--r--editor/tile-editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp
index 66ca1e7b..965245a9 100644
--- a/editor/tile-editor.cpp
+++ b/editor/tile-editor.cpp
@@ -6,6 +6,7 @@
#include "random.hpp"
#include "serialize/json-helper.hpp"
#include "serialize/tile-atlas.hpp"
+#include <Corrade/Containers/StringStl.h>
namespace floormat {
@@ -50,6 +51,8 @@ std::shared_ptr<tile_atlas> tile_editor::atlas(StringView str)
fm_abort("no such atlas: %s", str.cbegin());
}
+StringView tile_editor::name() const noexcept { return _name; }
+
void tile_editor::clear_selection()
{
_selected_tile = {};