summaryrefslogtreecommitdiffhomepage
path: root/src/world.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.hpp')
-rw-r--r--src/world.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.hpp b/src/world.hpp
index ae7b6240..9b58ff3d 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -29,7 +29,7 @@ private:
public:
explicit world();
- struct pair final { chunk& c; tile& t; }; // NOLINT(cppcoreguidelines-avoid-const-or-ref-data-members)
+ struct pair final { chunk& c; tile_ref t; };
template<typename Hash, typename Alloc, typename Pred>
explicit world(std::unordered_map<chunk_coords, chunk, Hash, Alloc, Pred>&& chunks);