From 5dfb472ff446baa440ff837a076ee24d51d0e183 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Oct 2023 02:27:30 +0200 Subject: b --- src/path-search-dijkstra.cpp | 3 --- test/path-search.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/path-search-dijkstra.cpp b/src/path-search-dijkstra.cpp index 848f156a..5a9356f2 100644 --- a/src/path-search-dijkstra.cpp +++ b/src/path-search-dijkstra.cpp @@ -12,11 +12,8 @@ template using bbox = path_search::bbox; namespace { constexpr auto chunk_size = iTILE_SIZE2 * TILE_MAX_DIM; -constexpr auto div = Vector2i(path_search::subdivide_factor); constexpr auto div_size = path_search::div_size; constexpr auto min_size = path_search::min_size; -constexpr auto tile_start = Vector2i(iTILE_SIZE2/-2); -constexpr auto inf =- (uint32_t)-1; template requires std::is_arithmetic_v diff --git a/test/path-search.cpp b/test/path-search.cpp index c91bb6cb..b2a50524 100644 --- a/test/path-search.cpp +++ b/test/path-search.cpp @@ -111,9 +111,6 @@ constexpr bool test_offsets2() struct neighbors final { - auto begin() const { return data.data(); } - auto end() const { return data.data() + size; } - std::array data; uint8_t size = 0; }; -- cgit v1.2.3