Skip to content

Instantly share code, notes, and snippets.

@hugopeixoto
Created November 16, 2011 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugopeixoto/1370241 to your computer and use it in GitHub Desktop.
Save hugopeixoto/1370241 to your computer and use it in GitHub Desktop.
geos 3.3.1 patch to silence a warning
--- src/operation/polygonize/EdgeRing.cpp 2011-11-16 14:47:02.000000000 +0000
+++ src/operation/polygonize/EdgeRing.cpp 2011-11-16 14:48:14.000000000 +0000
@@ -222,9 +222,9 @@
ring=factory->createLinearRing(*ringPts);
} catch (const std::exception& e) {
// FIXME: print also ringPts
- std::cerr << "EdgeRing::getRingInternal: "
- << e.what()
- << endl;
+ // std::cerr << "EdgeRing::getRingInternal: "
+ // << e.what()
+ // << endl;
}
return ring;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment