Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63215 - trunk/libs/filesystem/v2/src
From: bdawes_at_[hidden]
Date: 2010-06-21 21:41:32


Author: bemandawes
Date: 2010-06-21 21:41:30 EDT (Mon, 21 Jun 2010)
New Revision: 63215
URL: http://svn.boost.org/trac/boost/changeset/63215

Log:
Avoid deprecated name
Text files modified:
   trunk/libs/filesystem/v2/src/v2_path.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/filesystem/v2/src/v2_path.cpp
==============================================================================
--- trunk/libs/filesystem/v2/src/v2_path.cpp (original)
+++ trunk/libs/filesystem/v2/src/v2_path.cpp 2010-06-21 21:41:30 EDT (Mon, 21 Jun 2010)
@@ -146,7 +146,7 @@
         work.get()+work_size, to_next ) != std::codecvt_base::ok )
         boost::throw_exception( boost::filesystem::wfilesystem_error(
           "boost::filesystem::wpath::to_external conversion error",
- ph, system::error_code( system::posix::invalid_argument, system::system_category() ) ) );
+ ph, system::error_code( system::errc::invalid_argument, system::system_category() ) ) );
       *to_next = '\0';
       return external_string_type( work.get() );
     }
@@ -165,7 +165,7 @@
         work.get()+work_size, to_next ) != std::codecvt_base::ok )
         boost::throw_exception( boost::filesystem::wfilesystem_error(
           "boost::filesystem::wpath::to_internal conversion error",
- system::error_code( system::posix::invalid_argument, system::system_category() ) ) );
+ system::error_code( system::errc::invalid_argument, system::system_category() ) ) );
       *to_next = L'\0';
       return internal_string_type( work.get() );
     }


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