Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52670 - sandbox/stm/boost/stm
From: justin_at_[hidden]
Date: 2009-04-29 19:20:07


Author: jgottschlich
Date: 2009-04-29 19:20:06 EDT (Wed, 29 Apr 2009)
New Revision: 52670
URL: http://svn.boost.org/trac/boost/changeset/52670

Log:
corrected type mismatch for template garbarge collection method.
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-29 19:20:06 EDT (Wed, 29 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 == &in)
+ if (j->second == (base_transaction_object*)&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