Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52649 - sandbox/stm/boost/stm
From: justin_at_[hidden]
Date: 2009-04-28 02:43:37


Author: jgottschlich
Date: 2009-04-28 02:43:36 EDT (Tue, 28 Apr 2009)
New Revision: 52649
URL: http://svn.boost.org/trac/boost/changeset/52649

Log:
corrected improper type-cast for direct update garbage collector.
Text files modified:
   sandbox/stm/boost/stm/transaction.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/stm/boost/stm/transaction.hpp
==============================================================================
--- sandbox/stm/boost/stm/transaction.hpp (original)
+++ sandbox/stm/boost/stm/transaction.hpp 2009-04-28 02:43:36 EDT (Tue, 28 Apr 2009)
@@ -1020,7 +1020,7 @@
          // second location. If it's there, it means we made a copy of a piece
          for (WriteContainer::iterator j = writeList().begin(); writeList().end() != j; ++j)
          {
- if (j->second == &(T)in)
+ if (j->second == &in)
             {
                writeList().insert(tx_pair(j->first, NULL));
                deletedMemoryList().push_back(j->first);


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