summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/wait_object.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-28 08:10:22 +0200
committerLioncash <mathew1800@gmail.com>2018-09-28 08:17:57 +0200
commitf4c24d0832830281f7af08193c10777d49de2ee1 (patch)
treee03d7fc2a2c9a454c5508631bf9ed7877a2c81a1 /src/core/hle/kernel/wait_object.h
parentMerge pull request #1389 from PhiBabin/valgrind (diff)
downloadyuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar.gz
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar.bz2
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar.lz
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar.xz
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.tar.zst
yuzu-f4c24d0832830281f7af08193c10777d49de2ee1.zip
Diffstat (limited to 'src/core/hle/kernel/wait_object.h')
-rw-r--r--src/core/hle/kernel/wait_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/wait_object.h b/src/core/hle/kernel/wait_object.h
index 0bd97133c..f4367ee28 100644
--- a/src/core/hle/kernel/wait_object.h
+++ b/src/core/hle/kernel/wait_object.h
@@ -69,7 +69,7 @@ private:
template <>
inline SharedPtr<WaitObject> DynamicObjectCast<WaitObject>(SharedPtr<Object> object) {
if (object != nullptr && object->IsWaitable()) {
- return boost::static_pointer_cast<WaitObject>(std::move(object));
+ return boost::static_pointer_cast<WaitObject>(object);
}
return nullptr;
}