From fa9cfa25a3090b8ed586b937cb0148bbb7f09b0e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 7 Jun 2024 04:35:00 +0200 Subject: f --- src/search-astar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search-astar.cpp b/src/search-astar.cpp index 3215cee7..25f73aff 100644 --- a/src/search-astar.cpp +++ b/src/search-astar.cpp @@ -124,7 +124,7 @@ constexpr auto directions = []() constexpr struct heap_comparator { const Array& nodes; // NOLINT - inline heap_comparator(const Array& nodes) : nodes{nodes} {} + explicit inline heap_comparator(const Array& nodes) : nodes{nodes} {} inline bool operator()(uint32_t a, uint32_t b) const { return nodes[b].dist < nodes[a].dist; } }; -- cgit v1.2.3