summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo/geometry_container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/geo/geometry_container.cpp')
-rw-r--r--src/mongo/db/geo/geometry_container.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/geo/geometry_container.cpp b/src/mongo/db/geo/geometry_container.cpp
index be09ea54dc7..c3c3adaa1b2 100644
--- a/src/mongo/db/geo/geometry_container.cpp
+++ b/src/mongo/db/geo/geometry_container.cpp
@@ -317,9 +317,7 @@ bool GeometryContainer::contains(const GeometryContainer& otherContainer) const
}
if (nullptr != otherContainer._polygon) {
- tassert(7323500,
- "Checking if geometry contains big polygon is not supported",
- nullptr != otherContainer._polygon->s2Polygon);
+ invariant(nullptr != otherContainer._polygon->s2Polygon);
return contains(*otherContainer._polygon->s2Polygon);
}