Commit dc66d161 authored by wangdawei's avatar wangdawei

test

parent 4b2551ef
This diff is collapsed.
......@@ -39,12 +39,14 @@ int main(int argc, char *argv[])
getCrossTasks(activeTraces, crossTasks);
if(crossTasks.size() == 0){
LOG(WARNING) << "crossTasks.size() == 0";
}else{
sort(crossTasks.begin(), crossTasks.end(),
[](const string& query, const string& target) {
return stoi(boost::filesystem::path(query).filename().string()) <
stoi(boost::filesystem::path(target).filename().string());
});
}
sort(crossTasks.begin(), crossTasks.end(),
[](const string& query, const string& target) {
return stoi(boost::filesystem::path(query).filename().string()) <
stoi(boost::filesystem::path(target).filename().string());
});
for(string task : crossTasks){
LOG(INFO) << "cross task chekc in: " << task;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment