diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-12 04:00:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-12 04:00:21 +0200 |
commit | b9fb46ac9d40bbc8268351adc5e89fecf5a981b4 (patch) | |
tree | 0971410cd6f62dbb210e87aa3494f7f380802b74 /src/common | |
parent | Merge pull request #1147 from lioncash/nullptr (diff) | |
download | yuzu-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.h | 1 |
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; } |