diff --git a/src/App/ComplexGeoData.cpp b/src/App/ComplexGeoData.cpp index 5c6fd3291a..4f5407461d 100644 --- a/src/App/ComplexGeoData.cpp +++ b/src/App/ComplexGeoData.cpp @@ -60,8 +60,6 @@ ComplexGeoData::ComplexGeoData() { } -ComplexGeoData::~ComplexGeoData() = default; - Data::Segment* ComplexGeoData::getSubElementByName(const char* name) const { int index = 0; diff --git a/src/App/ComplexGeoData.h b/src/App/ComplexGeoData.h index dd1b81ff62..9af995a3e5 100644 --- a/src/App/ComplexGeoData.h +++ b/src/App/ComplexGeoData.h @@ -85,7 +85,7 @@ public: /// Constructor ComplexGeoData(); /// Destructor - ~ComplexGeoData() override; + virtual ~ComplexGeoData() = default; /** @name Sub-element management */ //@{