diff --git a/Modules/Radiometry/Indices/include/otbRadiometricIndex.h b/Modules/Radiometry/Indices/include/otbRadiometricIndex.h index 15cdba6cade2b34deeda96c9ac8df401d7652992..0d001f301da9092baf8d22ff3a2e2599985ec965 100644 --- a/Modules/Radiometry/Indices/include/otbRadiometricIndex.h +++ b/Modules/Radiometry/Indices/include/otbRadiometricIndex.h @@ -70,6 +70,11 @@ public: static constexpr double Epsilon = 0.0000001; + // Necessary to be used as an abstract base class + virtual ~RadiometricIndex() + { + } + /** * \param requiredBands the set<CommonBandNames> of required bands * \throw runtime_error if requiredBands contains CommonBandNames::MAX