From 7307815e99a79dac42f2a9c06b0fe6171ea11ba0 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 1 Jul 2022 16:01:04 +0200 Subject: refactor: use ranges --- src/interfaces/cell_helper.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/cell_helper.hpp b/src/interfaces/cell_helper.hpp index 69bf8b0..38e214d 100644 --- a/src/interfaces/cell_helper.hpp +++ b/src/interfaces/cell_helper.hpp @@ -6,7 +6,6 @@ #include -#include #include #include @@ -20,8 +19,8 @@ public: -> bool = 0; [[nodiscard]] virtual auto - get_birth_cell_positions(const std::list &cell_positions) const noexcept - -> std::list = 0; + get_birth_cell_positions(const std::vector &cell_positions) const noexcept + -> std::vector = 0; [[nodiscard]] virtual auto find_neighbours(const Vector2 &cell_pos) const noexcept -> std::vector = 0; -- cgit v1.2.3-18-g5258