diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-12 04:23:33 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-12 04:23:33 +0200 |
commit | 042cc00150fd2fc54bc530522de9993ccf715bae (patch) | |
tree | 0971410cd6f62dbb210e87aa3494f7f380802b74 | |
parent | Merge pull request #1147 from lioncash/nullptr (diff) | |
parent | synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator (diff) | |
download | yuzu-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.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; } |