From a2e4a23b3016cde2c56e87a612e4fd4cd493da58 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 11 Jan 2013 14:11:51 +0100 Subject: [PATCH] bugfix --- src/lib/sync.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sync.hpp b/src/lib/sync.hpp index 650c54bc6..e87e33a7b 100644 --- a/src/lib/sync.hpp +++ b/src/lib/sync.hpp @@ -342,7 +342,7 @@ namespace lib { /** allow copy, without interfering with the identity of IMPL */ Monitor (Monitor const& ref) : IMPL(), timeout_(ref.timeout_) { } - const Monitor& operator= (Monitor const& ref) { timeout_ = ref.timeout_; } + const Monitor& operator= (Monitor const& ref) { timeout_ = ref.timeout_; return *this; } void acquireLock() { IMPL::acquire(); }