From 332227d0cc3f19bd608e4b9394a73a5359fd87b3 Mon Sep 17 00:00:00 2001 From: Juhana Lankinen Date: Tue, 12 Nov 2024 15:01:57 +0200 Subject: [PATCH] Make variable const --- src/grid.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grid.hpp b/src/grid.hpp index d516abb..549bb6f 100644 --- a/src/grid.hpp +++ b/src/grid.hpp @@ -468,7 +468,7 @@ template class FsGrid { const Coordinates coordinates = {}; //!< Task position to task mapping - std::vector tasks = {}; + const std::vector tasks = {}; //!< Lookup table from index to rank in the neighbour array (includes self) const std::array neighbourIndexToRank = {