Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52719 - sandbox/stm/libs/stm/test
From: justin_at_[hidden]
Date: 2009-05-02 00:52:17


Author: jgottschlich
Date: 2009-05-02 00:52:11 EDT (Sat, 02 May 2009)
New Revision: 52719
URL: http://svn.boost.org/trac/boost/changeset/52719

Log:
corrected minor static issues.
Text files modified:
   sandbox/stm/libs/stm/test/smart.cpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: sandbox/stm/libs/stm/test/smart.cpp
==============================================================================
--- sandbox/stm/libs/stm/test/smart.cpp (original)
+++ sandbox/stm/libs/stm/test/smart.cpp 2009-05-02 00:52:11 EDT (Sat, 02 May 2009)
@@ -14,14 +14,15 @@
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 #include <boost/stm/transaction.hpp>
+#include "smart.h"
 #include "main.h"
 
 using namespace boost::stm;
 
-int kMaxOuterLoops = 10000;
-int kMaxInnerLoops = 50000;
+static int kMaxOuterLoops = 10000;
+static int kMaxInnerLoops = 50000;
 
-native_trans<int> txInt = 0, txInt2, txInt3 = 0;
+static native_trans<int> txInt = 0, txInt2, txInt3 = 0;
 
 //----------------------------------------------------------------------------
 //----------------------------------------------------------------------------


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