Merge remote-tracking branches 'neheb/j', 'neheb/f', 'neheb/qwe' and 'neheb/hgf'

This commit is contained in:
Max Kellermann
2020-02-20 16:58:17 +01:00
14 changed files with 19 additions and 29 deletions

View File

@@ -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;