diff options
Diffstat (limited to '')
-rw-r--r-- | src/DetachedSong.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx index a99cbb4c8..7d841a4c2 100644 --- a/src/DetachedSong.hxx +++ b/src/DetachedSong.hxx @@ -32,6 +32,8 @@ struct Song; class DetachedSong { + friend DetachedSong map_song_detach(const Song &song); + /** * An UTF-8-encoded URI referring to the song file. This can * be one of: @@ -60,6 +62,8 @@ class DetachedSong { */ unsigned end_ms; + explicit DetachedSong(const Song &other); + public: explicit DetachedSong(const DetachedSong &other) :uri(other.uri), @@ -67,8 +71,6 @@ public: mtime(other.mtime), start_ms(other.start_ms), end_ms(other.end_ms) {} - explicit DetachedSong(const Song &other); - explicit DetachedSong(const char *_uri) :uri(_uri), mtime(0), start_ms(0), end_ms(0) {} |