aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/nvflinger.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-07-25 18:53:25 -0400
committerLioncash <mathew1800@gmail.com>2020-07-25 19:04:53 -0400
commit5dab23e0171fd9fcb1976ac13e484ee7cf166e29 (patch)
treebbffe822135d0e9578588b01fae8bf807c1cbe3a /src/core/hle/service/nvflinger/nvflinger.h
parenta2e1810287b8b7ffead994dcb17e8e0ba6bc0914 (diff)
nvflinger: Use return value of Lock()
comex reported in #4424 that we were incorrectly discarding the return value of Lock() which is correct.
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.h')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h
index e4959a9af..0be55e442 100644
--- a/src/core/hle/service/nvflinger/nvflinger.h
+++ b/src/core/hle/service/nvflinger/nvflinger.h
@@ -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};
}