[geos-commits] r2191 - trunk/source/simplify

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Sep 22 16:16:52 EDT 2008


Author: mloskot
Date: 2008-09-22 16:16:52 -0400 (Mon, 22 Sep 2008)
New Revision: 2191

Modified:
   trunk/source/simplify/TopologyPreservingSimplifier.cpp
Log:
Removed unnecessary std::endl from debug messages in TopologyPreservingSimplifier.cpp.

Modified: trunk/source/simplify/TopologyPreservingSimplifier.cpp
===================================================================
--- trunk/source/simplify/TopologyPreservingSimplifier.cpp	2008-09-21 21:32:01 UTC (rev 2190)
+++ trunk/source/simplify/TopologyPreservingSimplifier.cpp	2008-09-22 20:16:52 UTC (rev 2191)
@@ -300,8 +300,7 @@
 #if GEOS_DEBUG
 	std::cerr << "LineStringMapBuilderFilter applied, "
 	          << " lineStringMap contains "
-	          << linestringMap.size() << " elements"
-	          << std::endl;
+	          << linestringMap.size() << " elements\n";
 #endif
 
 		LinesMapValueIterator begin(linestringMap.begin());
@@ -310,16 +309,14 @@
 
 
 #if GEOS_DEBUG
-	std::cerr << "all TaggedLineString simplified"
-	          << std::endl;
+	std::cerr << "all TaggedLineString simplified\n";
 #endif
 
 		LineStringTransformer trans(linestringMap);
 		result = trans.transform(inputGeom);
 
 #if GEOS_DEBUG
-	std::cerr << "inputGeom transformed"
-	          << std::endl;
+	std::cerr << "inputGeom transformed\n";
 #endif
 
 	} catch (...) {
@@ -345,8 +342,7 @@
 	}
 
 #if GEOS_DEBUG
-	std::cerr << "returning result"
-	          << std::endl;
+	std::cerr << "returning result\n";
 #endif
 
 	return result;



More information about the geos-commits mailing list