diff --git a/lib/libimhex/include/hex/plugin.hpp b/lib/libimhex/include/hex/plugin.hpp index 5c30650be..208d9cdbe 100644 --- a/lib/libimhex/include/hex/plugin.hpp +++ b/lib/libimhex/include/hex/plugin.hpp @@ -46,7 +46,7 @@ void* PluginSubCommandsFunctionHelper::getSubCommands() { [[maybe_unused]] static auto& getFeaturesImpl() { static hex::AutoReset> features; - return features; + return *features; } #if defined (IMHEX_STATIC_LINK_PLUGINS)