Commit a727150c authored by Max Kellermann's avatar Max Kellermann

db/simple/Song: remove StringView constructor

parent 949916cb
......@@ -23,13 +23,6 @@
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx"
#include "fs/Traits.hxx"
#include "util/StringView.hxx"
inline
Song::Song(StringView _uri, Directory &_parent) noexcept
:parent(_parent), uri(_uri.data, _uri.size)
{
}
Song::Song(DetachedSong &&other, Directory &_parent) noexcept
:tag(std::move(other.WritableTag())),
......
......@@ -97,8 +97,6 @@ struct Song {
Song(U &&_uri, Directory &_parent) noexcept
:parent(_parent), uri(std::forward<U>(_uri)) {}
Song(StringView _uri, Directory &parent) noexcept;
Song(DetachedSong &&other, Directory &_parent) noexcept;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment