Skip to content
Snippets Groups Projects
Commit 25e76aad authored by Guillaume Pernot's avatar Guillaume Pernot
Browse files

Merge branch 'feat-fix-gcc8-compilation' into 'develop'

Fix gcc8 compilation

See merge request orfeotoolbox/otb!636
parents b145c94a 8737d3e2
Branches
Tags
No related merge requests found
...@@ -96,7 +96,7 @@ int otbOssimElevManagerTest4(int argc, char* argv[]) ...@@ -96,7 +96,7 @@ int otbOssimElevManagerTest4(int argc, char* argv[])
std::ofstream file; std::ofstream file;
std::cout << outfname << std::endl; std::cout << outfname << std::endl;
file.open(outfname, ios::binary | ios::out); file.open(outfname, std::ios::binary | std::ios::out);
file.write(reinterpret_cast<char*>(image), sizeof(double) * size[0] * size[1]); file.write(reinterpret_cast<char*>(image), sizeof(double) * size[0] * size[1]);
file.close(); file.close();
......
...@@ -48,7 +48,7 @@ int main(int argc, char * argv[]) ...@@ -48,7 +48,7 @@ int main(int argc, char * argv[])
{ {
std::clog.precision(20); std::clog.precision(20);
string annotationXml; std::string annotationXml;
Inverse inverse = undef; Inverse inverse = undef;
bool verbose = false; bool verbose = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment