PlaylistFile: narrow LoadPlaylistFileInfo() API to accept Path
This commit is contained in:
parent
0bd01824f6
commit
6207a3f999
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue