diff --git a/src/entt/locator/locator.hpp b/src/entt/locator/locator.hpp index 671ac5fd8..dd80b5bd1 100644 --- a/src/entt/locator/locator.hpp +++ b/src/entt/locator/locator.hpp @@ -149,6 +149,7 @@ public: private: // std::shared_ptr because of its type erased allocator which is useful here + // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) inline static std::shared_ptr service{}; };