Fix Clang warning about braces around initialization

This commit is contained in:
Sergey Sharybin 2022-09-09 15:03:04 +02:00
parent 05f821b094
commit 6039d15732
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void radixsort(std::vector<T> &data, std::vector<T> &data2, KeyGetter getKey)
static_assert(datasize % 2 == 0);
static_assert(std::is_integral<key_t>::value);
uint bins[datasize][257] = {0};
uint bins[datasize][257] = {{0}};
/* Count number of elements per bin. */
for (const T &item : data) {