0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator

This commit is contained in:
Lioncash 2015-09-11 22:00:21 -04:00
parent 5bca1e6adf
commit b9fb46ac9d

View File

@ -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; }