Skip to content

Commit

Permalink
GeometryCollection: Add a newline at the end of addGeometry error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitjano committed Oct 22, 2024
1 parent 5323f6c commit a6245a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GeometryCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down

0 comments on commit a6245a9

Please sign in to comment.