diff --git a/Source/Core/VideoCommon/AsyncRequests.h b/Source/Core/VideoCommon/AsyncRequests.h index ad2a120e8b..1c72b55b85 100644 --- a/Source/Core/VideoCommon/AsyncRequests.h +++ b/Source/Core/VideoCommon/AsyncRequests.h @@ -10,6 +10,7 @@ #include #include "Common/Flag.h" +#include "Common/Functional.h" struct EfbPokeData; class PointerWrap; @@ -60,7 +61,7 @@ public: static AsyncRequests* GetInstance() { return &s_singleton; } private: - using Event = std::function; + using Event = Common::MoveOnlyFunction; void QueueEvent(Event&& event);