From 37aa65afc4190e1966215151923d3432011e100b Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 27 Apr 2025 19:53:18 -0500 Subject: [PATCH] VideoCommon: Use MoveOnlyFunction for AsyncRequests. --- Source/Core/VideoCommon/AsyncRequests.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);