diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-05 14:44:09 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-06 03:51:58 +0100 |
commit | 31860896302ccbac677ac670c43c3b5b8b857192 (patch) | |
tree | e8899b944fce2044f665b9dcc401fec17957d76d /src/dijkstra.cpp | |
parent | 45868d4a4057c012caccafee21c1f1169e0ef8ca (diff) |
style only
Diffstat (limited to 'src/dijkstra.cpp')
-rw-r--r-- | src/dijkstra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dijkstra.cpp b/src/dijkstra.cpp index 4bdb3ab7..c1dcd4d6 100644 --- a/src/dijkstra.cpp +++ b/src/dijkstra.cpp @@ -373,7 +373,7 @@ struct chunk_cache x *= i; return x; }(); - static constexpr size_t rank = sizeof(dimensions)/sizeof(dimensions[0]); + static constexpr size_t rank = arraySize(dimensions); struct index { uint32_t value = 0; }; class chunk* chunk = nullptr; |