mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-24 18:42:07 +00:00
nvflinger: Use return value of Lock()
comex reported in #4424 that we were incorrectly discarding the return value of Lock() which is correct.
This commit is contained in:
@@ -86,7 +86,7 @@ public:
|
||||
|
||||
s64 GetNextTicks() const;
|
||||
|
||||
std::unique_lock<std::mutex> Lock() {
|
||||
std::unique_lock<std::mutex> Lock() const {
|
||||
return std::unique_lock{*guard};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user