From bfe1453fe4fc83118a139bbf8d0e667803ee2f25 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Fri, 29 Aug 2008 20:06:23 +0000 Subject: [PATCH] Fix boost/filesystem/convenience.hpp bug; fully remove deprecated features [SVN r48462] --- include/boost/filesystem/convenience.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/filesystem/convenience.hpp b/include/boost/filesystem/convenience.hpp index a794107..df2e3ef 100644 --- a/include/boost/filesystem/convenience.hpp +++ b/include/boost/filesystem/convenience.hpp @@ -94,6 +94,7 @@ namespace boost inline bool create_directories(const wpath& ph) { return create_directories(ph); } +# ifndef BOOST_FILESYSTEM_NO_DEPRECATED inline std::string extension(const path& ph) { return extension(ph); } inline std::wstring extension(const wpath& ph) @@ -108,6 +109,7 @@ namespace boost { return change_extension( ph, new_ex ); } inline wpath change_extension( const wpath & ph, const std::wstring& new_ex ) { return change_extension( ph, new_ex ); } +# endif # endif