diff --git a/src/db/plugins/ProxyDatabasePlugin.cxx b/src/db/plugins/ProxyDatabasePlugin.cxx index 74ce9e8d1..18c3c3dd4 100644 --- a/src/db/plugins/ProxyDatabasePlugin.cxx +++ b/src/db/plugins/ProxyDatabasePlugin.cxx @@ -770,7 +770,7 @@ ReceiveEntities(struct mpd_connection *connection) noexcept std::list entities; struct mpd_entity *entity; while ((entity = mpd_recv_entity(connection)) != nullptr) - entities.push_back(ProxyEntity(entity)); + entities.emplace_back(entity); mpd_response_finish(connection); return entities;