summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/wait_object.h
diff options
context:
space:
mode:
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;
}