summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-04-27 19:53:18 -0500
committerJordan Woyak <jordan.woyak@gmail.com>2025-04-27 20:07:13 -0500
commit37aa65afc4190e1966215151923d3432011e100b (patch)
treeb55ea1ccf3928bfd165f588c9b7d82a375f28f1d /Source/Core/VideoCommon
parente403dee3da641522b1ee23829c720a8ccb8c7631 (diff)
VideoCommon: Use MoveOnlyFunction for AsyncRequests.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/AsyncRequests.h3
1 files changed, 2 insertions, 1 deletions
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 <queue>
#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<void()>;
+ using Event = Common::MoveOnlyFunction<void()>;
void QueueEvent(Event&& event);