Commit c364fdbf authored by xuebingbing's avatar xuebingbing

处理gnu编译器警告

parent 33df3537
......@@ -541,7 +541,7 @@ int pcd2lasByStationFiles(const cxxopts::ParseResult& argsresult)
}
temp = argsresult["pcdfile"].as<std::string>();
if (argsresult.count("pcdfile") < 0)
if (argsresult.count("pcdfile") < 1)
{
std::cout << "ERROR: " << currentmode << " 未指定输入pcd文件" << std::endl;
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