diff options
-rw-r--r-- | src/db/plugins/ProxyDatabasePlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<ProxyEntity> 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; |