From 3de4e4b693ea35b6d52346c5a35bbcba8d536444 Mon Sep 17 00:00:00 2001 From: Jean Felder Date: Tue, 22 Oct 2024 12:37:41 +0200 Subject: [PATCH] GeometryCollection: Add a newline at the end of addGeometry error msg --- src/GeometryCollection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); }