From 877726d10973916e2e48d29354bd5f828c92f1a2 Mon Sep 17 00:00:00 2001
From: Victor Poughon <victor.poughon@cnes.fr>
Date: Fri, 10 May 2019 09:51:04 +0200
Subject: [PATCH] STYLE: prefer = default; dtor syntax

---
 Modules/Radiometry/Indices/include/otbRadiometricIndex.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Modules/Radiometry/Indices/include/otbRadiometricIndex.h b/Modules/Radiometry/Indices/include/otbRadiometricIndex.h
index 0d001f301d..54179e85ed 100644
--- a/Modules/Radiometry/Indices/include/otbRadiometricIndex.h
+++ b/Modules/Radiometry/Indices/include/otbRadiometricIndex.h
@@ -71,9 +71,7 @@ public:
   static constexpr double Epsilon = 0.0000001;
 
   // Necessary to be used as an abstract base class
-  virtual ~RadiometricIndex()
-  {
-  }
+  virtual ~RadiometricIndex() = default;
 
   /**
    * \param requiredBands the set<CommonBandNames> of required bands
-- 
GitLab