13
0

Remove unused method PBD::sys::path::leaf

git-svn-id: svn://localhost/ardour2/branches/3.0@12880 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2012-06-23 05:08:55 +00:00
parent 9dfb6b7d93
commit 6d7302a3a4
2 changed files with 0 additions and 12 deletions

View File

@ -63,12 +63,6 @@ path::operator/=(const char* rhs)
return *this;
}
string
path::leaf () const
{
return Glib::path_get_basename(m_path);
}
bool
exists (const path & p)
{

View File

@ -84,12 +84,6 @@ public:
const std::string to_string() const { return m_path; }
/**
* @return the last component of the path, if the path refers to
* a file then it will be the entire filename including any extension.
*/
std::string leaf () const;
private:
std::string m_path;