Compiling the latest CVS version gives the following error

TextCache.C: In function static void TextCache::show(class ostream &, const class 
LyXText *)':
TextCache.C:79: no match for call to (show_text) (LyXText *)'
TextCache.C:61: candidates are: show_text::operator ()(LyXText *&) <near match>
make[2]: *** [TextCache.o] Error 1

I believe that to fix it, line 79 should be changed from
       st(const_cast<LyXText*>(lt));
to
       st(const_cast<LyXText*&>(lt));

Reply via email to