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;

View File

@@ -30,10 +30,8 @@
#include <string.h>
UPnPDirContent::~UPnPDirContent()
{
/* this destructor exists here just so it won't get inlined */
}
/* this destructor exists here just so it won't get inlined */
UPnPDirContent::~UPnPDirContent() = default;
gcc_pure
static UPnPDirObject::ItemClass

View File

@@ -19,7 +19,5 @@
#include "Object.hxx"
UPnPDirObject::~UPnPDirObject() noexcept
{
/* this destructor exists here just so it won't get inlined */
}
/* this destructor exists here just so it won't get inlined */
UPnPDirObject::~UPnPDirObject() noexcept = default;