diff --git a/Code/Common/otbVariableLengthVectorConverter.h b/Code/Common/otbVariableLengthVectorConverter.h index 61dc8f8246311721829ab3dec9b828811937b0e8..f7eaae0d44ba6ae528848b5f503f012f5e3c8a23 100644 --- a/Code/Common/otbVariableLengthVectorConverter.h +++ b/Code/Common/otbVariableLengthVectorConverter.h @@ -62,7 +62,7 @@ public: OutputType Convert (InputType input) { - itkGenericExceptionMacro( << "Type Convertion Not Implemented." << std::endl ); + return static_cast<OutputType>(input); } protected: