diff --git a/lib/libimhex/include/hex/plugin.hpp b/lib/libimhex/include/hex/plugin.hpp index 92ecaf414..5c30650be 100644 --- a/lib/libimhex/include/hex/plugin.hpp +++ b/lib/libimhex/include/hex/plugin.hpp @@ -45,7 +45,7 @@ void* PluginSubCommandsFunctionHelper::getSubCommands() { } [[maybe_unused]] static auto& getFeaturesImpl() { - static std::vector features; + static hex::AutoReset> features; return features; }