diff options
Diffstat (limited to 'src/Song.hxx')
-rw-r--r-- | src/Song.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Song.hxx b/src/Song.hxx index cafa17fd8..32158aedf 100644 --- a/src/Song.hxx +++ b/src/Song.hxx @@ -83,6 +83,10 @@ struct Song { gcc_malloc static Song *LoadFile(const char *path_utf8, Directory *parent); + static Song *LoadFile(const char *path_utf8, Directory &parent) { + return LoadFile(path_utf8, &parent); + } + /** * Replaces the URI of a song object. The given song object * is destroyed, and a newly allocated one is returned. It |