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:
parent
9dfb6b7d93
commit
6d7302a3a4
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user