summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-12 04:00:21 +0200
committerLioncash <mathew1800@gmail.com>2015-09-12 04:00:21 +0200
commitb9fb46ac9d40bbc8268351adc5e89fecf5a981b4 (patch)
tree0971410cd6f62dbb210e87aa3494f7f380802b74 /src/common
parentMerge pull request #1147 from lioncash/nullptr (diff)
downloadyuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar.gz
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar.bz2
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar.lz
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar.xz
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.tar.zst
yuzu-b9fb46ac9d40bbc8268351adc5e89fecf5a981b4.zip
Diffstat (limited to 'src/common')
-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; }