Commit 3e6cc157 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaLibrary: Use emplace instead of insert

parent a78ce785
......@@ -777,7 +777,7 @@ void MediaLibrary::populateFsFactories()
void MediaLibrary::addLocalFsFactory()
{
m_fsFactories.insert( begin( m_fsFactories ), std::make_shared<factory::FileSystemFactory>( m_deviceLister ) );
m_fsFactories.emplace( begin( m_fsFactories ), std::make_shared<factory::FileSystemFactory>( m_deviceLister ) );
}
InitializeResult MediaLibrary::updateDatabaseModel( unsigned int previousVersion,
......
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