Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51811 - sandbox/synchro/boost/synchro/lockers
From: vicente.botet_at_[hidden]
Date: 2009-03-16 18:48:51


Author: viboes
Date: 2009-03-16 18:48:51 EDT (Mon, 16 Mar 2009)
New Revision: 51811
URL: http://svn.boost.org/trac/boost/changeset/51811

Log:
0.4.3 : Adding lock_until/for try_lock_until/for free functions + usage of Boost/Chrono

Text files modified:
   sandbox/synchro/boost/synchro/lockers/array_locker.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/synchro/boost/synchro/lockers/array_locker.hpp
==============================================================================
--- sandbox/synchro/boost/synchro/lockers/array_locker.hpp (original)
+++ sandbox/synchro/boost/synchro/lockers/array_locker.hpp 2009-03-16 18:48:51 EDT (Mon, 16 Mar 2009)
@@ -302,7 +302,7 @@
         
         
         typedef bool (unique_array_locker::*bool_type)() const; /*< safe bool idiom >*/
- operator bool_type() const { return (owns_lock()?&strict_locker::owns_lock:0; }
+ operator bool_type() const { return (owns_lock()?&unique_array_locker::owns_lock:0); }
         bool operator!() const { return !owns_lock(); }
         
         void lock() {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk