mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 01:47:43 +01:00
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
2 changed files with 0 additions and 12 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue