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

family: make it clear to the linter that we want identifier to be global

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

+ 1 - 0
src/entt/core/family.hpp

@@ -15,6 +15,7 @@ namespace entt {
  */
 template<typename...>
 class family {
+    // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
     inline static ENTT_MAYBE_ATOMIC(id_type) identifier{};
 
 public: