perf: move

[skip changelog]
This commit is contained in:
status102
2025-04-27 23:42:47 +08:00
parent 6cfab2c1f0
commit 12fc5bbde3

View File

@@ -231,7 +231,7 @@ bool asst::TaskData::load(const std::filesystem::path& path)
Log.error("TaskData::load", "Json open failed:", path);
return false;
}
merged = ret->as_object();
merged = std::move(ret->as_object());
}
else if (is_directory(path)) {
std::vector<std::filesystem::path> json_files;