Jürgen Spitzmüller wrote:
Jürgen Spitzmüller wrote:
OK, I'll put back your change.
Wait ...
It works if you call update from outside. E.g., if you change in the cut and
paste check I introduced:
- lab.update(oldname, false);
+ lab.update(oldname, true);
the refs are updated on paste (which is unwanted in this case ...). Maybe
there's some update failing? Does this ring a bell?
Yes... I guess gcc has problem with virtual methods and default values
('updaterefs' in this case). Could you please remove it and always pass
true?
- void update(docstring const & new_label, bool updaterefs = true);
+ void update(docstring const & new_label, bool updaterefs);