|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51166 - sandbox/synchro/libs/synchro/example
From: vicente.botet_at_[hidden]
Date: 2009-02-09 18:40:14
Author: viboes
Date: 2009-02-09 18:40:13 EST (Mon, 09 Feb 2009)
New Revision: 51166
URL: http://svn.boost.org/trac/boost/changeset/51166
Log:
Boost.Synchro V0.0.0
Text files modified:
sandbox/synchro/libs/synchro/example/BankAccount.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/synchro/libs/synchro/example/BankAccount.cpp
==============================================================================
--- sandbox/synchro/libs/synchro/example/BankAccount.cpp (original)
+++ sandbox/synchro/libs/synchro/example/BankAccount.cpp 2009-02-09 18:40:13 EST (Mon, 09 Feb 2009)
@@ -38,7 +38,7 @@
synchronizer _(*rhs.mutex());
balance=rhs.balance_;
}
- synchronizer _(*this.mutex());
+ synchronizer _(*this->mutex());
balance_=balance;
return *this;
}
@@ -48,7 +48,7 @@
if(&rhs == this) return *this;
int balance=0;
synchronize (*rhs.mutex()) balance=rhs.balance_;
- synchronize (*this.mutex()) balance_=balance;
+ synchronize (*this->mutex()) balance_=balance;
return *this;
}
#endif
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