[LyX/master] Make CoordCache assertions less annoying.
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sat Oct 9 10:03:54 UTC 2021
commit a5f1b158589fc9d3a5d1f8291461d0001d06ea09
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
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;
}
More information about the lyx-cvs
mailing list