Skip to content
Snippets Groups Projects
Commit 3f3cc7e7 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: use override if ITKv3 compat is ON

parent a10f120f
No related branches found
No related tags found
No related merge requests found
...@@ -188,7 +188,11 @@ public: ...@@ -188,7 +188,11 @@ public:
* *
* \f] * \f]
* */ * */
#ifdef ITKV3_COMPATIBILITY
const JacobianType & GetJacobian(const InputPointType &) const override
#else
virtual const JacobianType & GetJacobian(const InputPointType &) const virtual const JacobianType & GetJacobian(const InputPointType &) const
#endif
{ {
itkExceptionMacro( << "Subclass should override this method (GetJacobian)" ); itkExceptionMacro( << "Subclass should override this method (GetJacobian)" );
// Next line is needed to avoid errors due to: // Next line is needed to avoid errors due to:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment