be careful with output streams
This commit is contained in:
parent
4546bbec44
commit
26e4fedfde
1 changed files with 1 additions and 1 deletions
|
@ -114,9 +114,9 @@ int main (int argc,char** argv)
|
|||
}
|
||||
while (itr != shape_files.end())
|
||||
{
|
||||
clog << "processing " << *itr << endl;
|
||||
std::string shapename (*itr++);
|
||||
boost::algorithm::ireplace_last(shapename,".shp","");
|
||||
clog << "processing " << *itr << endl;
|
||||
std::string shapename_full (shapename+".shp");
|
||||
|
||||
if (! boost::filesystem::exists (shapename_full))
|
||||
|
|
Loading…
Reference in a new issue