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 authored and lbartoletti committed Oct 24, 2024
1 parent 18b0462 commit 3de4e4b
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 3de4e4b

Please sign in to comment.