Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2008-08-29 16:06:24


Author: bemandawes
Date: 2008-08-29 16:06:23 EDT (Fri, 29 Aug 2008)
New Revision: 48462
URL: http://svn.boost.org/trac/boost/changeset/48462

Log:
Fix boost/filesystem/convenience.hpp bug; fully remove deprecated features
Text files modified:
   trunk/boost/filesystem/convenience.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/filesystem/convenience.hpp
==============================================================================
--- trunk/boost/filesystem/convenience.hpp (original)
+++ trunk/boost/filesystem/convenience.hpp 2008-08-29 16:06:23 EDT (Fri, 29 Aug 2008)
@@ -94,6 +94,7 @@
     inline bool create_directories(const wpath& ph)
       { return create_directories<wpath>(ph); }
 
+# ifndef BOOST_FILESYSTEM_NO_DEPRECATED
     inline std::string extension(const path& ph)
       { return extension<path>(ph); }
     inline std::wstring extension(const wpath& ph)
@@ -108,6 +109,7 @@
       { return change_extension<path>( ph, new_ex ); }
     inline wpath change_extension( const wpath & ph, const std::wstring& new_ex )
       { return change_extension<wpath>( ph, new_ex ); }
+# endif
 
 # endif
 


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