Commit 00c24ec9 authored by wangdawei's avatar wangdawei

test

parent a0242d70
...@@ -57,8 +57,8 @@ int main(int argc, char *argv[]) ...@@ -57,8 +57,8 @@ int main(int argc, char *argv[])
LOG(WARNING) << outputPath << " load fail!"; LOG(WARNING) << outputPath << " load fail!";
return 0; return 0;
} }
for(string task : crossTasks){ if(crossTasks.size() != 0){
ofs << task << std::endl; ofs << crossTasks.back() << std::endl;
} }
ofs.close(); ofs.close();
return 1; return 1;
......
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