summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/audio_library.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/ardour/audio_library.cc b/libs/ardour/audio_library.cc
index 4fdbc708ad..65e8243e52 100644
--- a/libs/ardour/audio_library.cc
+++ b/libs/ardour/audio_library.cc
@@ -27,7 +27,6 @@
#include <glibmm/convert.h>
#include "pbd/compose.h"
-#include "pbd/filesystem.h"
#include "ardour/audio_library.h"
#include "ardour/utils.h"
@@ -47,16 +46,16 @@ static const char* TAG = "http://ardour.org/ontology/Tag";
AudioLibrary::AudioLibrary ()
{
- sys::path sfdb_file_path(user_config_directory ());
+ std::string sfdb_file_path(user_config_directory ());
- sfdb_file_path /= sfdb_file_name;
+ sfdb_file_path = Glib::build_filename (sfdb_file_path, sfdb_file_name);
- src = Glib::filename_to_uri (sfdb_file_path.to_string ());
+ src = Glib::filename_to_uri (sfdb_file_path);
// workaround for possible bug in raptor that crashes when saving to a
// non-existant file.
- touch_file(sfdb_file_path.to_string());
+ touch_file(sfdb_file_path);
lrdf_read_file(src.c_str());
}