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:
Lioncash 2020-07-25 18:53:25 -04:00
parent 34f9706950
commit 94ae1a0bf1
3 changed files with 4 additions and 4 deletions

View file

@ -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};
}