All the code which overrode
VerifyInputInformation() now fails to compile with an error message similar to this:
16>c:\misc\bluequartz\simpl\source\simplib\itk\itkinplaceimagetodream3ddatafilter.h(57): error C3668: ‘itk::InPlaceImageToDream3DDataFilter<TPixel,1>::VerifyPreconditions’: method with override specifier ‘override’ did not override any base class methods
We could introduce a macro which would be
const with legacy off, and
[empty string] with legacy on. We could call it
ITK5_CONST or something similar. Alternatively, we could remove
const from the signatures of those two methods.