|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62207 - sandbox/stm/libs/stm/test
From: justin_at_[hidden]
Date: 2010-05-25 13:20:00
Author: jgottschlich
Date: 2010-05-25 13:19:59 EDT (Tue, 25 May 2010)
New Revision: 62207
URL: http://svn.boost.org/trac/boost/changeset/62207
Log:
fixed Simple initializer.
Text files modified:
sandbox/stm/libs/stm/test/testBufferedDelete.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: sandbox/stm/libs/stm/test/testBufferedDelete.cpp
==============================================================================
--- sandbox/stm/libs/stm/test/testBufferedDelete.cpp (original)
+++ sandbox/stm/libs/stm/test/testBufferedDelete.cpp 2010-05-25 13:19:59 EDT (Tue, 25 May 2010)
@@ -17,7 +17,7 @@
int val_;
};
-Simple *instance = new Simple;
+Simple *instance = NULL;
using namespace stm;
@@ -61,6 +61,8 @@
stm::transaction::do_deferred_updating();
+ instance = new Simple;
+
instance->val_ = 0;
pthread_t *threads = new pthread_t[kMaxThreads];
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