summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-07 21:28:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-07 21:28:23 +0200
commit6e19e9446b436d9608b5a4931f25d328a5e56f93 (patch)
tree3a26822fb58c1d73583bd8eb790e1bcfdd90e78b /src/chunk.hpp
parentc622ba25379bdab352a73276544a4d68a02e1fb7 (diff)
a
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index 7ce54212..9d2777e5 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -25,12 +25,12 @@ struct chunk final
using iterator = basic_tile_iterator<tile>;
using const_iterator = basic_tile_iterator<const tile>;
- constexpr iterator begin() { return iterator{_tiles.data(), 0}; }
- constexpr iterator end() { return iterator{_tiles.data(), _tiles.size()}; }
- constexpr const_iterator begin() const { return const_iterator{_tiles.data(), 0}; }
- constexpr const_iterator end() const { return const_iterator{_tiles.data(), _tiles.size()}; }
- constexpr const_iterator cbegin() const { return const_iterator{_tiles.data(), 0}; }
- constexpr const_iterator cend() { return const_iterator{_tiles.data(), _tiles.size()}; }
+ iterator begin() { return iterator{_tiles.data(), 0}; }
+ iterator end() { return iterator{_tiles.data(), _tiles.size()}; }
+ const_iterator begin() const { return const_iterator{_tiles.data(), 0}; }
+ const_iterator end() const { return const_iterator{_tiles.data(), _tiles.size()}; }
+ const_iterator cbegin() const { return const_iterator{_tiles.data(), 0}; }
+ const_iterator cend() { return const_iterator{_tiles.data(), _tiles.size()}; }
private:
template<typename F, typename Self>