Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68001 - in branches/release: boost/graph/distributed/adjlist libs/graph/test
From: jewillco_at_[hidden]
Date: 2011-01-11 17:19:58


Author: jewillco
Date: 2011-01-11 17:19:57 EST (Tue, 11 Jan 2011)
New Revision: 68001
URL: http://svn.boost.org/trac/boost/changeset/68001

Log:
Removed BOOST_FILESYSTEM_VERSION setting from test cases and removed Filesystem v2 workaround
Text files modified:
   branches/release/boost/graph/distributed/adjlist/serialization.hpp | 4 ----
   branches/release/libs/graph/test/all_planar_input_files_test.cpp | 2 --
   branches/release/libs/graph/test/parallel_edges_loops_test.cpp | 2 --
   3 files changed, 0 insertions(+), 8 deletions(-)

Modified: branches/release/boost/graph/distributed/adjlist/serialization.hpp
==============================================================================
--- branches/release/boost/graph/distributed/adjlist/serialization.hpp (original)
+++ branches/release/boost/graph/distributed/adjlist/serialization.hpp 2011-01-11 17:19:57 EST (Tue, 11 Jan 2011)
@@ -94,11 +94,7 @@
               if (!filesystem::is_regular(*i))
                   boost::throw_exception(std::runtime_error("directory contains non-regular entries"));
 
-#if BOOST_FILESYSTEM_VERSION == 3
               std::string process_name = i->path().filename().string();
-#else
- std::string process_name = i->path().filename();
-#endif
               for (std::string::size_type i = 0; i < process_name.size(); ++i)
                 if (!is_digit(process_name[i]))
                   boost::throw_exception(std::runtime_error("directory contains files with invalid names"));

Modified: branches/release/libs/graph/test/all_planar_input_files_test.cpp
==============================================================================
--- branches/release/libs/graph/test/all_planar_input_files_test.cpp (original)
+++ branches/release/libs/graph/test/all_planar_input_files_test.cpp 2011-01-11 17:19:57 EST (Tue, 11 Jan 2011)
@@ -18,8 +18,6 @@
 
 */
 
-#define BOOST_FILESYSTEM_VERSION 3
-
 #include <iostream>
 #include <fstream>
 #include <vector>

Modified: branches/release/libs/graph/test/parallel_edges_loops_test.cpp
==============================================================================
--- branches/release/libs/graph/test/parallel_edges_loops_test.cpp (original)
+++ branches/release/libs/graph/test/parallel_edges_loops_test.cpp 2011-01-11 17:19:57 EST (Tue, 11 Jan 2011)
@@ -16,8 +16,6 @@
 
 */
 
-#define BOOST_FILESYSTEM_VERSION 3
-
 #include <iostream>
 #include <fstream>
 #include <vector>


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