summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-12 04:23:33 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-12 04:23:33 +0200
commit042cc00150fd2fc54bc530522de9993ccf715bae (patch)
tree0971410cd6f62dbb210e87aa3494f7f380802b74
parentMerge pull request #1147 from lioncash/nullptr (diff)
parentsynchronized_wrapper: Add missing return in SynchronizedRef move assignment operator (diff)
downloadyuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar.gz
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar.bz2
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar.lz
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar.xz
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.tar.zst
yuzu-042cc00150fd2fc54bc530522de9993ccf715bae.zip
-rw-r--r--src/common/synchronized_wrapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/synchronized_wrapper.h b/src/common/synchronized_wrapper.h
index ae5e8b1ed..07105a198 100644
--- a/src/common/synchronized_wrapper.h
+++ b/src/common/synchronized_wrapper.h
@@ -55,6 +55,7 @@ public:
SynchronizedRef& operator=(SynchronizedRef&) = delete;
SynchronizedRef& operator=(SynchronizedRef&& o) {
std::swap(wrapper, o.wrapper);
+ return *this;
}
T& operator*() { return wrapper->data; }