From 85ed046d403d89e91f0446dad0bba69f11e1fc8e Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Wed, 26 Sep 2007 17:48:27 +0000 Subject: [PATCH] Turns out the --dep_name errors were due to functions in the wrong namespace (Chris Kohlhoff) [SVN r39553] --- include/boost/filesystem/convenience.hpp | 3 +-- src/path.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/boost/filesystem/convenience.hpp b/include/boost/filesystem/convenience.hpp index 66708c5..09796bf 100644 --- a/include/boost/filesystem/convenience.hpp +++ b/include/boost/filesystem/convenience.hpp @@ -45,8 +45,7 @@ namespace boost if ( !ph.empty() && !is_directory(ph) ) boost::throw_exception( basic_filesystem_error( "boost::filesystem::create_directories", ph, - boost::system::make_error_code( - boost::system::posix::file_exists ) ) ); + make_error_code( boost::system::posix::file_exists ) ) ); return false; } diff --git a/src/path.cpp b/src/path.cpp index 4dfb85b..f3e2b46 100644 --- a/src/path.cpp +++ b/src/path.cpp @@ -69,7 +69,7 @@ namespace boost if ( locked ) boost::throw_exception( wfilesystem_error( "boost::filesystem::wpath_traits::imbue() after lockdown", - system::make_error_code( system::posix::not_supported ) ) ); + make_error_code( system::posix::not_supported ) ) ); imbue( new_loc, std::nothrow ); }