mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator
This commit is contained in:
parent
5bca1e6adf
commit
b9fb46ac9d
@ -55,6 +55,7 @@ public:
|
|||||||
SynchronizedRef& operator=(SynchronizedRef&) = delete;
|
SynchronizedRef& operator=(SynchronizedRef&) = delete;
|
||||||
SynchronizedRef& operator=(SynchronizedRef&& o) {
|
SynchronizedRef& operator=(SynchronizedRef&& o) {
|
||||||
std::swap(wrapper, o.wrapper);
|
std::swap(wrapper, o.wrapper);
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
T& operator*() { return wrapper->data; }
|
T& operator*() { return wrapper->data; }
|
||||||
|
Loading…
Reference in New Issue
Block a user