On Thu, 2006-05-04 at 11:24 +0200, Georg Baum wrote:
> Martin Vermeer wrote:
> 
> > If no objection, this goes in presently. Should not have any functional
> > effects at present, with insetcaption disabled...
> 
> Note that you can opeen a file that contains an InsetCaption just fine, so
> it is not entirely disabled.
> 
> Why is the mutable label needed?

Because it complains otherwise:

insetcaption.C: In member function 'virtual void
InsetCaption::draw(PainterInfo&, int, int) const':
insetcaption.C:144: error: passing 'const std::string' as 'this'
argument of 'std::basic_string<_CharT, _Traits, _Alloc>&
std::basic_string<_CharT, _Traits, _Alloc>::operator=(const
std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char,
_Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'
discards qualifiers

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to