mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 12:20:04 +00:00
Merge pull request #1151 from lioncash/return
synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator
This commit is contained in:
commit
042cc00150
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user