Added block_counter variable to a preprocessor check, minor bug. (#6596)

This commit is contained in:
Al 2023-04-16 14:22:30 -07:00 committed by Mugr Rex
parent 7f6900d80d
commit c42d32620e
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
- FIXED: Typo in file name src/util/timed_historgram.cpp -> src/util/timed_histogram.cpp [#6428](https://github.com/Project-OSRM/osrm-backend/issues/6428) - FIXED: Typo in file name src/util/timed_historgram.cpp -> src/util/timed_histogram.cpp [#6428](https://github.com/Project-OSRM/osrm-backend/issues/6428)
- CHANGED: Replace boost::string_ref with std::string_view [#6433](https://github.com/Project-OSRM/osrm-backend/pull/6433) - CHANGED: Replace boost::string_ref with std::string_view [#6433](https://github.com/Project-OSRM/osrm-backend/pull/6433)
- ADDED: Print tracebacks for Lua runtime errors [#6564](https://github.com/Project-OSRM/osrm-backend/pull/6564) - ADDED: Print tracebacks for Lua runtime errors [#6564](https://github.com/Project-OSRM/osrm-backend/pull/6564)
- FIXED: Added a variable to preprocessor guard in file osrm-backend/include/util/range_table.hpp to solve build error. [#6596](https://github.com/Project-OSRM/osrm-backend/pull/6596)
- Routing: - Routing:
- FIXED: Fix adding traffic signal penalties during compression [#6419](https://github.com/Project-OSRM/osrm-backend/pull/6419) - FIXED: Fix adding traffic signal penalties during compression [#6419](https://github.com/Project-OSRM/osrm-backend/pull/6419)
# 5.27.1 # 5.27.1

View File

@ -83,6 +83,7 @@ template <unsigned BLOCK_SIZE, storage::Ownership Ownership> class RangeTable
#ifndef BOOST_ASSERT_IS_VOID #ifndef BOOST_ASSERT_IS_VOID
unsigned block_counter = 0; unsigned block_counter = 0;
unsigned block_sum = 0; unsigned block_sum = 0;
unsigned block_counter = 0;
#endif #endif
for (const unsigned l : lengths) for (const unsigned l : lengths)
{ {