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