diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-05 19:29:40 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-05 19:29:40 +0100 |
commit | 12eca108a07cde1606fca3e472aed58749407699 (patch) | |
tree | 44ac90dffca8cde0fc06800c5546cd12f5cd9249 /editor/editor.hpp | |
parent | 28f5a46ba0058752d4e92cc66e0260f4ed2b8cf3 (diff) |
replace std::string with Corrade's String
Diffstat (limited to 'editor/editor.hpp')
-rw-r--r-- | editor/editor.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/editor.hpp b/editor/editor.hpp index 869307c7..09277590 100644 --- a/editor/editor.hpp +++ b/editor/editor.hpp @@ -9,9 +9,8 @@ #include <optional> #include <vector> #include <map> -#include <string> #include <memory> -#include <Corrade/Containers/StringView.h> +#include <Corrade/Containers/String.h> namespace floormat { @@ -32,7 +31,7 @@ private: sel_none, sel_tile, sel_perm, }; - std::string _name; + String _name; std::map<std::string, std::shared_ptr<tile_atlas>> _atlases; tile_image_proto _selected_tile; std::tuple<std::shared_ptr<tile_atlas>, std::vector<decltype(tile_image_proto::variant)>> _permutation; |