File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99namespace {
1010
1111std::string GetAbsolutePath (const std::string& relative_path) {
12- const std::filesystem::path path = std::string (PPC_PATH_TO_PROJECT) + " / tasks/ " + relative_path;
12+ std::filesystem::path path = std::filesystem::path (PPC_PATH_TO_PROJECT) / " tasks" / relative_path;
1313 return path.string ();
1414}
1515
1616} // namespace
1717
1818std::string ppc::util::GetAbsoluteTaskPath (const std::string& id_path, const std::string& relative_path) {
19- return GetAbsolutePath (id_path + " /data/" + relative_path);
19+ std::filesystem::path task_relative = std::filesystem::path (id_path) / " data" / relative_path;
20+ return GetAbsolutePath (task_relative.string ());
2021}
2122
2223int ppc::util::GetNumThreads () {
You can’t perform that action at this time.
0 commit comments