On Tue, Jan 27, 2004 at 09:58:19PM +0000, Angus Leeming wrote:
> Georg Baum wrote:
> > It compiles if I change line 838 of src/Cursor.C from
> > 
> > if (t.operator->() != anchor_[depth()].inset())
> > 
> > to
> > 
> > if (t.operator->() !=
> > const_cast<InsetBase const *>(anchor_[depth()].inset()))
> >
> > Is this expected?
> 
> Don't think so. The two functions in question are:
>         MathInset const * MathAtom::operator->() const;
> and
>         InsetBase * CursorSlice::inset() const;
> but MathInset derives from InsetBase.
> 
> Looks to me like cursor.C is missing a
>         #include "mathed/math_inset.h"

Oh.. this might be true...

Andre'

Reply via email to