summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-09-04 04:47:48 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-09-04 04:47:48 +0000
commit3b937a7c44a1acd633c22970d67ed3b6af2f701e (patch)
tree0fce23192fe4ad8c9279fe82c63d7cbc732f1af5 /libs/pbd
parent39cd07a96982b766ad2877edb17b78faa3b5360e (diff)
Rename PBD::SearchPath::get_string to PBD::SearchPath::to_string
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/file_utils.cc4
-rw-r--r--libs/pbd/pbd/search_path.h2
-rw-r--r--libs/pbd/search_path.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc
index af2c67b40c..efb065fbd4 100644
--- a/libs/pbd/file_utils.cc
+++ b/libs/pbd/file_utils.cc
@@ -106,7 +106,7 @@ find_file_in_search_path(const SearchPath& search_path,
(
"Found no file named %1 in search path %2",
filename,
- search_path.get_string ()
+ search_path.to_string ()
)
<< endmsg;
@@ -120,7 +120,7 @@ find_file_in_search_path(const SearchPath& search_path,
(
"Found more than one file matching %1 in search path %2",
filename,
- search_path.get_string ()
+ search_path.to_string ()
)
<< endmsg;
}
diff --git a/libs/pbd/pbd/search_path.h b/libs/pbd/pbd/search_path.h
index e51d5de4ad..3b10d4a319 100644
--- a/libs/pbd/pbd/search_path.h
+++ b/libs/pbd/pbd/search_path.h
@@ -128,7 +128,7 @@ public:
* The string that is returned contains the platform specific
* path separator.
*/
- const string get_string () const;
+ const string to_string () const;
/**
* Assignment of another SearchPath to this.
diff --git a/libs/pbd/search_path.cc b/libs/pbd/search_path.cc
index b3590ba7bd..9956c6c763 100644
--- a/libs/pbd/search_path.cc
+++ b/libs/pbd/search_path.cc
@@ -80,7 +80,7 @@ SearchPath::add_directories (const vector<sys::path>& paths)
}
const string
-SearchPath::get_string () const
+SearchPath::to_string () const
{
string path;