diff options
-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; |