This commit is contained in:
Fischlurch 2013-01-11 14:11:51 +01:00
parent 8e57bbacf1
commit a2e4a23b30

View file

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