diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 10:29:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 10:29:03 +0200 |
commit | f1330bf596b045131ba2906e0b99646835257456 (patch) | |
tree | e0a5a583dae55703df793e768ca2c0da49da24f0 /main | |
parent | d18a02d38f86d44e1825619a84cd01dcd5f28cf6 (diff) |
more dumb crap
Diffstat (limited to 'main')
-rw-r--r-- | main/editor.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/editor.hpp b/main/editor.hpp index a308c437..c156d0b9 100644 --- a/main/editor.hpp +++ b/main/editor.hpp @@ -25,12 +25,10 @@ struct tile_type final tile_type(editor_mode mode, Containers::StringView name); std::shared_ptr<tile_atlas> maybe_atlas(Containers::StringView str); std::shared_ptr<tile_atlas> atlas(Containers::StringView str); - auto begin() & { return _atlases.begin(); } - auto end() & { return _atlases.end(); } - auto begin() const&& { return _atlases.cbegin(); } - auto end() const&& { return _atlases.cend(); } auto cbegin() const { return _atlases.cbegin(); } auto cend() const { return _atlases.cend(); } + auto begin() const { return _atlases.cbegin(); } + auto end() const { return _atlases.cend(); } Containers::StringView name() const { return _name; } editor_mode mode() const { return _mode; } |