diff --git a/include/boost/filesystem/v3/convenience.hpp b/include/boost/filesystem/v3/convenience.hpp index 18ff2b0..be9934a 100644 --- a/include/boost/filesystem/v3/convenience.hpp +++ b/include/boost/filesystem/v3/convenience.hpp @@ -25,17 +25,17 @@ namespace boost # ifndef BOOST_FILESYSTEM_NO_DEPRECATED - std::string extension(const path & p) + inline std::string extension(const path & p) { return p.extension().string(); } - std::string basename(const path & p) + inline std::string basename(const path & p) { return p.stem().string(); } - path change_extension( const path & p, const path & new_extension ) + inline path change_extension( const path & p, const path & new_extension ) { path new_p( p ); new_p.replace_extension( new_extension );