Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49876 - in trunk/libs/interprocess: example test
From: igaztanaga_at_[hidden]
Date: 2008-11-22 18:51:14


Author: igaztanaga
Date: 2008-11-22 18:51:13 EST (Sat, 22 Nov 2008)
New Revision: 49876
URL: http://svn.boost.org/trac/boost/changeset/49876

Log:
Fixed missing <iostream> include in doc_named_mutex and removed superfluous cout in managed_mapped_file_test
Text files modified:
   trunk/libs/interprocess/example/doc_named_mutex.cpp | 1 +
   trunk/libs/interprocess/test/managed_mapped_file_test.cpp | 1 -
   2 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/interprocess/example/doc_named_mutex.cpp
==============================================================================
--- trunk/libs/interprocess/example/doc_named_mutex.cpp (original)
+++ trunk/libs/interprocess/example/doc_named_mutex.cpp 2008-11-22 18:51:13 EST (Sat, 22 Nov 2008)
@@ -12,6 +12,7 @@
 #include <boost/interprocess/sync/scoped_lock.hpp>
 #include <boost/interprocess/sync/named_mutex.hpp>
 #include <fstream>
+#include <iostream>
 
 int main ()
 {

Modified: trunk/libs/interprocess/test/managed_mapped_file_test.cpp
==============================================================================
--- trunk/libs/interprocess/test/managed_mapped_file_test.cpp (original)
+++ trunk/libs/interprocess/test/managed_mapped_file_test.cpp 2008-11-22 18:51:13 EST (Sat, 22 Nov 2008)
@@ -42,7 +42,6 @@
       //Let's allocate some memory
       for(i = 0; i < max; ++i){
          array[i] = mfile.allocate(i+1);
- std::cout << i << ' ';
       }
 
       //Deallocate allocated memory


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