diff --git a/Projections/otbConvertCartoToGeoPoint.cxx b/Projections/otbConvertCartoToGeoPoint.cxx index 1f3638f6696ad5a8a70eb24e550a499347269851..fade80676f0032899320ae1ee5932436dc50a8ec 100644 --- a/Projections/otbConvertCartoToGeoPoint.cxx +++ b/Projections/otbConvertCartoToGeoPoint.cxx @@ -62,7 +62,7 @@ int generic_main_carto_geo(TMapProjection* mapProjection, otb::CommandLineArgume { std::string outputTestFileName = parseResult->GetParameterString("--OTBTesting",0); - ofstream outputTestFile; + std::ofstream outputTestFile; outputTestFile.open(outputTestFileName.c_str()); outputTestFile << std::setprecision(10) << "Cartographic Point (x , y) : (" << cartoPoint[0] << "," << cartoPoint[1] << ")" << std::endl;