PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path

This commit is contained in:
Max Kellermann 2014-01-30 22:17:35 +01:00
parent 0bd01824f6
commit 6207a3f999
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ playlist_errno(Error &error)
static bool static bool
LoadPlaylistFileInfo(PlaylistInfo &info, LoadPlaylistFileInfo(PlaylistInfo &info,
const AllocatedPath &parent_path_fs, const Path parent_path_fs,
const AllocatedPath &name_fs) const Path name_fs)
{ {
const char *name_fs_str = name_fs.c_str(); const char *name_fs_str = name_fs.c_str();
size_t name_length = strlen(name_fs_str); size_t name_length = strlen(name_fs_str);