diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:08:55 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2012-06-23 05:08:55 +0000 |
commit | 6d7302a3a4ed22139981bba73dce89c432051b0c (patch) | |
tree | d7264dc904946f561ccbc16eefbc5b398a94c84c /libs/pbd | |
parent | 9dfb6b7d93441956deb6ee455b7d8636ae33603d (diff) |
Remove unused method PBD::sys::path::leaf
git-svn-id: svn://localhost/ardour2/branches/3.0@12880 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/filesystem.cc | 6 | ||||
-rw-r--r-- | libs/pbd/pbd/filesystem.h | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/libs/pbd/filesystem.cc b/libs/pbd/filesystem.cc index 7dda59895b..8915581bc5 100644 --- a/libs/pbd/filesystem.cc +++ b/libs/pbd/filesystem.cc @@ -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) { diff --git a/libs/pbd/pbd/filesystem.h b/libs/pbd/pbd/filesystem.h index 540efe3551..7bedeadb23 100644 --- a/libs/pbd/pbd/filesystem.h +++ b/libs/pbd/pbd/filesystem.h @@ -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; |