From f1330bf596b045131ba2906e0b99646835257456 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 22 Oct 2022 10:29:03 +0200 Subject: more dumb crap --- main/editor.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main') 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 maybe_atlas(Containers::StringView str); std::shared_ptr 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; } -- cgit v1.2.3