From b9fb46ac9d40bbc8268351adc5e89fecf5a981b4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 11 Sep 2015 22:00:21 -0400 Subject: synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator --- src/common/synchronized_wrapper.h | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3