|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64246 - trunk/boost/filesystem/v3
From: daniel_james_at_[hidden]
Date: 2010-07-22 03:49:06
Author: danieljames
Date: 2010-07-22 03:49:05 EDT (Thu, 22 Jul 2010)
New Revision: 64246
URL: http://svn.boost.org/trac/boost/changeset/64246
Log:
Inline some deprecated filesystem methods, so that they can be included in more than one compile unit.
Text files modified:
trunk/boost/filesystem/v3/convenience.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/filesystem/v3/convenience.hpp
==============================================================================
--- trunk/boost/filesystem/v3/convenience.hpp (original)
+++ trunk/boost/filesystem/v3/convenience.hpp 2010-07-22 03:49:05 EDT (Thu, 22 Jul 2010)
@@ -25,17 +25,17 @@
# 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 );
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