summaryrefslogtreecommitdiff
path: root/libs/pbd/filesystem.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2012-06-23 05:08:11 +0000
committerTim Mayberry <mojofunk@gmail.com>2012-06-23 05:08:11 +0000
commit6aee53710916320742370354c0867004166c6dab (patch)
treefe98b2aa18130197f027a159b73c373b0a941629 /libs/pbd/filesystem.cc
parenta049a69a1ae47b1f47b9d15aa373f4836a07e87e (diff)
Change PBD::sys::get_absolute_path to take and return a std::string
git-svn-id: svn://localhost/ardour2/branches/3.0@12862 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/filesystem.cc')
-rw-r--r--libs/pbd/filesystem.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/filesystem.cc b/libs/pbd/filesystem.cc
index 4f0c8a204a..4e39374b98 100644
--- a/libs/pbd/filesystem.cc
+++ b/libs/pbd/filesystem.cc
@@ -211,10 +211,10 @@ extension (const path & p)
}
-path
-get_absolute_path (const path & p)
+std::string
+get_absolute_path (const std::string & p)
{
- Glib::RefPtr<Gio::File> f = Gio::File::create_for_path (p.to_string ());
+ Glib::RefPtr<Gio::File> f = Gio::File::create_for_path (p);
return f->get_path ();
}