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

runtime_view: instruct the linter to trust me

skypjack 1 год назад
Родитель
Сommit
a33212438a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/entt/entity/runtime_view.hpp

+ 1 - 0
src/entt/entity/runtime_view.hpp

@@ -38,6 +38,7 @@ public:
           it{},
           tombstone_check{} {}
 
+    // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
     runtime_view_iterator(const std::vector<Set *> &cpools, const std::vector<Set *> &ignore, iterator_type curr) noexcept
         : pools{&cpools},
           filter{&ignore},