diff --git a/src/GeometryCollection.cpp b/src/GeometryCollection.cpp index 44249ac6..3f15a9b9 100644 --- a/src/GeometryCollection.cpp +++ b/src/GeometryCollection.cpp @@ -159,7 +159,7 @@ GeometryCollection::addGeometry(Geometry *geometry) if (!isAllowed(*geometry)) { std::ostringstream oss; oss << "try to add a '" << geometry->geometryType() << "' in a '" - << geometryType() << "'"; + << geometryType() << "'\n"; delete geometry; // we are responsible for the resource here BOOST_THROW_EXCEPTION(std::runtime_error(oss.str())); }