mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
VideoCommon: Use MoveOnlyFunction for AsyncRequests.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user