Просмотр исходного кода

algorithm: suppress yet another annoying warning

Michele Caini 1 год назад
Родитель
Сommit
165a048fa1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/core/algorithm.hpp

+ 1 - 1
src/entt/core/algorithm.hpp

@@ -106,7 +106,7 @@ struct radix_sort {
                 constexpr auto mask = (1 << Bit) - 1;
                 constexpr auto mask = (1 << Bit) - 1;
                 constexpr auto buckets = 1 << Bit;
                 constexpr auto buckets = 1 << Bit;
 
 
-                // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays)
+                // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays, misc-const-correctness)
                 std::size_t count[buckets]{};
                 std::size_t count[buckets]{};
 
 
                 for(auto it = from; it != to; ++it) {
                 for(auto it = from; it != to; ++it) {