Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72144 - sandbox/block_ptr/libs/smart_ptr/example
From: phil_at_[hidden]
Date: 2011-05-24 20:13:36


Author: pbouchard
Date: 2011-05-24 20:13:36 EDT (Tue, 24 May 2011)
New Revision: 72144
URL: http://svn.boost.org/trac/boost/changeset/72144

Log:
* Typo
Text files modified:
   sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp (original)
+++ sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp 2011-05-24 20:13:36 EDT (Tue, 24 May 2011)
@@ -61,7 +61,7 @@
         clock_gettime(CLOCK_PROCESS_CPUTIME_ID, & ts[0]);
         worker_new< auto_ptr<int>, int >();
         clock_gettime(CLOCK_PROCESS_CPUTIME_ID, & ts[1]);
- cout << "auto_ptr\t" << setw(numeric_limits<long>::digits10 + 2) << diff(ts[0], ts[1]).tv_nsec << " ns" << endl;
+ cout << "auto_ptr:\t" << setw(numeric_limits<long>::digits10 + 2) << diff(ts[0], ts[1]).tv_nsec << " ns" << endl;
 
         clock_gettime(CLOCK_PROCESS_CPUTIME_ID, & ts[0]);
         worker_new< shared_ptr<int>, int >();


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