[ox] Remove std::move calls that suppressed copy elision
This commit is contained in:
@@ -103,7 +103,7 @@ Result<Vector<String>> PassThroughFS::ls(const char *dir) noexcept {
|
||||
const auto u8p = p.path().filename().u8string();
|
||||
out.emplace_back(reinterpret_cast<const char*>(u8p.c_str()));
|
||||
}
|
||||
return std::move(out);
|
||||
return out;
|
||||
}
|
||||
|
||||
Error PassThroughFS::remove(const char *path, bool recursive) noexcept {
|
||||
|
Reference in New Issue
Block a user