mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-09 21:47:53 +00:00
Remove unnecessary and RVO-detrimental moves
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user