diff --git a/Source/Core/Common/HookableEvent.h b/Source/Core/Common/HookableEvent.h index be97a8ab9b..987880de98 100644 --- a/Source/Core/Common/HookableEvent.h +++ b/Source/Core/Common/HookableEvent.h @@ -97,7 +97,7 @@ public: std::lock_guard lock(storage.m_mutex); DEBUG_LOG_FMT(COMMON, "Registering {} handler at {} event hook", name, EventName.value); - auto handle = std::make_unique(callback, std::move(name)); + auto handle = std::make_unique(std::move(callback), std::move(name)); storage.m_listeners.push_back(handle.get()); return handle; }