diff --git a/k4FWCore/include/k4FWCore/DataHandle.h b/k4FWCore/include/k4FWCore/DataHandle.h index 8dfd31af..a3803550 100644 --- a/k4FWCore/include/k4FWCore/DataHandle.h +++ b/k4FWCore/include/k4FWCore/DataHandle.h @@ -39,7 +39,7 @@ template class DataHandle : public DataObjectHandle> public: DataHandle(); - ~DataHandle(); + ~DataHandle() override; /// Initialises mother class DataHandle(DataObjID& descriptor, Gaudi::DataHandle::Mode a, IDataHandleHolder* fatherAlg); diff --git a/k4FWCore/include/k4FWCore/DataWrapper.h b/k4FWCore/include/k4FWCore/DataWrapper.h index 59511bc3..0ecfb248 100644 --- a/k4FWCore/include/k4FWCore/DataWrapper.h +++ b/k4FWCore/include/k4FWCore/DataWrapper.h @@ -21,7 +21,6 @@ #include -// Include files #include "GaudiKernel/DataObject.h" #include "podio/CollectionBase.h" @@ -50,7 +49,7 @@ template class GAUDI_API DataWrapper : public DataWrapperBase { uptr.release(); is_owner = false; } - virtual ~DataWrapper(); + virtual ~DataWrapper() override; const T* getData() const { return m_data; } void setData(const T* data) { m_data = data; }