fix signature of virtual method in derived class (and make it const which it is)