Remove unnecessary and RVO-detrimental moves

This commit is contained in:
Jack Andersen 2016-10-02 18:38:08 -10:00
parent 2521f37408
commit 7cb7ed73ea
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ DirectoryEnumerator::DirectoryEnumerator(const SystemChar* path, Mode mode, bool
else else
continue; 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; break;
case Mode::DirsThenFilesSorted: case Mode::DirsThenFilesSorted: