db/simple/Song: remove StringView constructor
This commit is contained in:
parent
949916cba1
commit
a727150c8d
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user