[geos-commits] r3857 - trunk/src/operation/polygonize
svn_geos at osgeo.org
svn_geos at osgeo.org
Wed Jul 31 14:25:54 PDT 2013
Author: sgillies
Date: 2013-07-31 14:25:54 -0700 (Wed, 31 Jul 2013)
New Revision: 3857
Modified:
trunk/src/operation/polygonize/EdgeRing.cpp
Log:
Print to stderr only in debug mode
Modified: trunk/src/operation/polygonize/EdgeRing.cpp
===================================================================
--- trunk/src/operation/polygonize/EdgeRing.cpp 2013-07-31 20:38:54 UTC (rev 3856)
+++ trunk/src/operation/polygonize/EdgeRing.cpp 2013-07-31 21:25:54 UTC (rev 3857)
@@ -226,10 +226,12 @@
try {
ring=factory->createLinearRing(*ringPts);
} catch (const std::exception& e) {
+#if GEOS_DEBUG
// FIXME: print also ringPts
std::cerr << "EdgeRing::getRingInternal: "
<< e.what()
<< endl;
+#endif
}
return ring;
}
More information about the geos-commits
mailing list