Changed a variable to inline static in BadgeComponent.

This commit is contained in:
Leon Styhre 2022-01-09 23:41:56 +01:00
parent 7c640c24bf
commit aeb0292a3e
2 changed files with 1 additions and 3 deletions

View file

@ -20,8 +20,6 @@
#include "ThemeData.h"
#include "utils/StringUtil.h"
std::vector<GameControllers> BadgeComponent::sGameControllers;
namespace
{
// clang-format off

View file

@ -51,7 +51,7 @@ public:
unsigned int properties) override;
private:
static std::vector<GameControllers> sGameControllers;
inline static std::vector<GameControllers> sGameControllers;
std::vector<FlexboxComponent::FlexboxItem> mFlexboxItems;
FlexboxComponent mFlexboxComponent;