From 696b97147c2e399be7a95cc5a983294eebc84ff0 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 25 Jun 2022 16:19:02 +0200 Subject: refactor: make cell helper find_neighbour_cells return std::vector --- src/game/cell_helper.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/cell_helper.hpp') diff --git a/src/game/cell_helper.hpp b/src/game/cell_helper.hpp index f76497a..ee5ab27 100644 --- a/src/game/cell_helper.hpp +++ b/src/game/cell_helper.hpp @@ -7,6 +7,7 @@ #include #include +#include template class CellHelper : public ICellHelper @@ -22,7 +23,7 @@ public: -> std::list override; [[nodiscard]] auto find_neighbours(const Vector2 &cell_pos) const noexcept - -> std::list override; + -> std::vector override; private: const IMatrix &_matrix; -- cgit v1.2.3-18-g5258