Commit 8b04a6d1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Playlist: Remove now unused constructor

parent 6be2b1cc
......@@ -50,20 +50,15 @@ Playlist::Playlist( MediaLibraryPtr ml, sqlite::Row& row )
>> m_artworkMrl;
}
Playlist::Playlist( MediaLibraryPtr ml, const std::string& name, int64_t fileId )
Playlist::Playlist( MediaLibraryPtr ml, const std::string& name )
: m_ml( ml )
, m_id( 0 )
, m_name( name )
, m_fileId( fileId )
, m_fileId( 0 )
, m_creationDate( time( nullptr ) )
{
}
Playlist::Playlist( MediaLibraryPtr ml, const std::string& name)
: Playlist( ml, name, 0 )
{
}
std::shared_ptr<Playlist> Playlist::create( MediaLibraryPtr ml, const std::string& name )
{
auto self = std::make_shared<Playlist>( ml, name );
......
......@@ -48,7 +48,6 @@ class Playlist : public IPlaylist, public DatabaseHelpers<Playlist, policy::Play
{
public:
Playlist( MediaLibraryPtr ml, sqlite::Row& row );
Playlist( MediaLibraryPtr ml, const std::string& name, int64_t fileId );
Playlist( MediaLibraryPtr ml, const std::string& name );
static std::shared_ptr<Playlist> create( MediaLibraryPtr ml, const std::string& name );
......
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