diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-04-27 19:53:18 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-04-27 20:07:13 -0500 |
| commit | 37aa65afc4190e1966215151923d3432011e100b (patch) | |
| tree | b55ea1ccf3928bfd165f588c9b7d82a375f28f1d /Source/Core/VideoCommon | |
| parent | e403dee3da641522b1ee23829c720a8ccb8c7631 (diff) | |
VideoCommon: Use MoveOnlyFunction for AsyncRequests.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/AsyncRequests.h | 3 |
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); |
