yuzu: Resolve C++20 deprecation warnings related to lambda captures
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
This commit is contained in:
parent
9b75481755
commit
b249e4e0ce
9 changed files with 88 additions and 81 deletions
|
@ -81,7 +81,7 @@ void GPU::WaitFence(u32 syncpoint_id, u32 value) {
|
|||
}
|
||||
MICROPROFILE_SCOPE(GPU_wait);
|
||||
std::unique_lock lock{sync_mutex};
|
||||
sync_cv.wait(lock, [=]() { return syncpoints[syncpoint_id].load() >= value; });
|
||||
sync_cv.wait(lock, [=, this] { return syncpoints[syncpoint_id].load() >= value; });
|
||||
}
|
||||
|
||||
void GPU::IncrementSyncPoint(const u32 syncpoint_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue