diff options
author | Max Kellermann <max@duempel.org> | 2014-01-22 09:43:49 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-22 09:43:49 +0100 |
commit | 18aea922e9f2f60bfadac1392cbf82fd768ecc8b (patch) | |
tree | 80a0123673c2fda4f664549e366e257ed406d864 /src | |
parent | 7d194aceb694c5ae56b47af9ac33bf4a56bd1ea1 (diff) | |
download | mpd-18aea922e9f2f60bfadac1392cbf82fd768ecc8b.tar.gz mpd-18aea922e9f2f60bfadac1392cbf82fd768ecc8b.tar.xz mpd-18aea922e9f2f60bfadac1392cbf82fd768ecc8b.zip |
db/upnp/Directory: "emplace" items into the vector
Diffstat (limited to 'src')
-rw-r--r-- | src/db/upnp/Directory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/Directory.cxx b/src/db/upnp/Directory.cxx index 9d3e0daeb..9f4418a70 100644 --- a/src/db/upnp/Directory.cxx +++ b/src/db/upnp/Directory.cxx @@ -219,7 +219,7 @@ protected: if ((!strcmp(name, "container") || !strcmp(name, "item")) && checkobjok()) { tag.Commit(m_tobj.tag); - m_dir.objects.push_back(std::move(m_tobj)); + m_dir.objects.emplace_back(std::move(m_tobj)); } state = NONE; |