Przeglądaj źródła

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

Michele Caini 1 rok temu
rodzic
commit
627219f8a2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/entt/core/family.hpp

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

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