2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Remove unnecessary and RVO-detrimental moves

This commit is contained in:
Jack Andersen
2016-10-02 18:39:10 -10:00
parent 3a44ef11a4
commit d307e645b1
2 changed files with 9 additions and 9 deletions

View File

@@ -334,7 +334,7 @@ hecl::DirectoryEnumerator::DirectoryEnumerator(const hecl::SystemChar* path, Mod
else
continue;
m_entries.push_back(std::move(Entry(std::move(fp), d->d_name, sz, isDir)));
m_entries.push_back(Entry(std::move(fp), d->d_name, sz, isDir));
}
break;
case Mode::DirsThenFilesSorted: