commit a5f1b158589fc9d3a5d1f8291461d0001d06ea09
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Sat Oct 9 12:25:29 2021 +0200
Make CoordCache assertions less annoying.
---
src/CoordCache.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/CoordCache.h b/src/CoordCache.h
index b99cbe6..f26b6b2 100644
--- a/src/CoordCache.h
+++ b/src/CoordCache.h
@@ -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;
}
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs