You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STYLE: Explicitly declare virtual for derived class member functions
Class member functions derived from parent class with virtual functions
of the same name are implicitly virtual. This patch set uses a macro
for the c++11 override keyword to indicate that this function was
intended to be overridden in this derived class.
Ensuring that functions signatures are described as virtual is not
strictly needed, but it facilitates maintenance by being consistent.
Approximately 1/2 of the toolkit had the explicit virtual designation and 1/2
relied on implicit behavior.
The ITK_OVERRIDE define allows for non-c++11 compilers to continue to work.
Change-Id: Iba5c2970f2bad4f7f664b92a4420d217546bb22f
0 commit comments