diff --git a/es-core/src/components/BadgeComponent.cpp b/es-core/src/components/BadgeComponent.cpp index 182e156e1..91acf5ab0 100644 --- a/es-core/src/components/BadgeComponent.cpp +++ b/es-core/src/components/BadgeComponent.cpp @@ -20,8 +20,6 @@ #include "ThemeData.h" #include "utils/StringUtil.h" -std::vector BadgeComponent::sGameControllers; - namespace { // clang-format off diff --git a/es-core/src/components/BadgeComponent.h b/es-core/src/components/BadgeComponent.h index a1d37ba6b..cb7981bb9 100644 --- a/es-core/src/components/BadgeComponent.h +++ b/es-core/src/components/BadgeComponent.h @@ -51,7 +51,7 @@ public: unsigned int properties) override; private: - static std::vector sGameControllers; + inline static std::vector sGameControllers; std::vector mFlexboxItems; FlexboxComponent mFlexboxComponent;