[Insight-developers] PrintSelf() broken?

Luis Ibanez ibanez@choroid.cs.unc.edu
Thu, 17 May 2001 11:36:19 -0400 (EDT)


Parag,


PrintSelf changed recently to be a const function.

If you have a class of your own that derives from
an ITK class, and you still have a non-const PrintSelf()
method on it,  the PrintSelf() method called will be the
one of the ITK base class that satisfies the const API.

Please try to declare const the PrintSelf() method of
your class.


Luis