synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator

pull/8/head
Lioncash 9 years ago
parent 5bca1e6adf
commit b9fb46ac9d

@ -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…
Cancel
Save