diff --git a/lib/DirectoryEnumerator.cpp b/lib/DirectoryEnumerator.cpp index 40f5ad7..8a38ecc 100644 --- a/lib/DirectoryEnumerator.cpp +++ b/lib/DirectoryEnumerator.cpp @@ -186,7 +186,7 @@ DirectoryEnumerator::DirectoryEnumerator(const SystemChar* path, Mode mode, bool 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: