mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Make CoordCache assertions less annoying.
This commit is contained in:
parent
0fff65a16a
commit
a5f1b15858
@ -80,13 +80,13 @@ public:
|
|||||||
|
|
||||||
Geometry & geometry(T const * thing)
|
Geometry & geometry(T const * thing)
|
||||||
{
|
{
|
||||||
check(thing, "geometry");
|
checkDim(thing, "geometry");
|
||||||
return data_.find(thing)->second;
|
return data_.find(thing)->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
Geometry const & geometry(T const * thing) const
|
Geometry const & geometry(T const * thing) const
|
||||||
{
|
{
|
||||||
check(thing, "geometry");
|
checkDim(thing, "geometry");
|
||||||
return data_.find(thing)->second;
|
return data_.find(thing)->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user