Add CI job which builds OSRM with gcc 12 (#6455)

This commit is contained in:
Siarhei Fedartsou
2022-11-28 16:29:43 +01:00
committed by GitHub
parent 095b726a92
commit 2044398dfd
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ template <int N, typename T = std::string> struct FixedGroupBlock
std::numeric_limits<std::make_unsigned_t<ValueType>>::max();
auto index = 0;
std::array<ValueType, BLOCK_SIZE> prefix;
std::array<ValueType, BLOCK_SIZE> prefix{};
for (OffsetIterator curr = first, next = std::next(first); curr != last; ++curr, ++next)
{