Make CoordCache assertions less annoying.

This commit is contained in:
Jean-Marc Lasgouttes 2021-10-09 12:25:29 +02:00
parent 0fff65a16a
commit a5f1b15858

View File

@ -80,13 +80,13 @@ public:
Geometry & geometry(T const * thing)
{
check(thing, "geometry");
checkDim(thing, "geometry");
return data_.find(thing)->second;
}
Geometry const & geometry(T const * thing) const
{
check(thing, "geometry");
checkDim(thing, "geometry");
return data_.find(thing)->second;
}