db/upnp/Directory: "emplace" items into the vector
This commit is contained in:
parent
7d194aceb6
commit
18aea922e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user