aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-30 22:17:35 +0100
committerMax Kellermann <max@duempel.org>2014-01-30 22:17:35 +0100
commit6207a3f99976fe03e1e325833344e8859ab1fd92 (patch)
tree5581964515197fa8178aee5f668b963d8ff6bc8d /src/PlaylistFile.cxx
parent0bd01824f6b035e460e8821adf6913de3c78a3c4 (diff)
downloadmpd-6207a3f99976fe03e1e325833344e8859ab1fd92.tar.gz
mpd-6207a3f99976fe03e1e325833344e8859ab1fd92.tar.xz
mpd-6207a3f99976fe03e1e325833344e8859ab1fd92.zip
PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path
Diffstat (limited to 'src/PlaylistFile.cxx')
-rw-r--r--src/PlaylistFile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 86100fcde..00e638c9a 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -137,8 +137,8 @@ playlist_errno(Error &error)
static bool
LoadPlaylistFileInfo(PlaylistInfo &info,
- const AllocatedPath &parent_path_fs,
- const AllocatedPath &name_fs)
+ const Path parent_path_fs,
+ const Path name_fs)
{
const char *name_fs_str = name_fs.c_str();
size_t name_length = strlen(name_fs_str);