diff --git a/Framework/CMakeLists.txt b/Framework/CMakeLists.txt index f29c28da94..55cd26895a 100644 --- a/Framework/CMakeLists.txt +++ b/Framework/CMakeLists.txt @@ -24,7 +24,7 @@ target_link_libraries(O2QualityControlTypes PUBLIC AliceO2::BookkeepingApi AliceO2::Common - AliceO2::InfoLogger + # AliceO2::InfoLogger O2::DataFormatsQualityControl ROOT::Hist diff --git a/Framework/include/QualityControl/MonitorObject.h b/Framework/include/QualityControl/MonitorObject.h index 0f045e41a3..cea5ce81f2 100644 --- a/Framework/include/QualityControl/MonitorObject.h +++ b/Framework/include/QualityControl/MonitorObject.h @@ -48,7 +48,7 @@ class MonitorObject : public TObject MonitorObject(); MonitorObject(TObject* object, const std::string& taskName, const std::string& taskClass, const std::string& detectorName, int runNumber = 0, const std::string& periodName = "", const std::string& passName = "", const std::string& provenance = "qc"); /// Destructor - ~MonitorObject() override; + virtual ~MonitorObject() override; // /// Copy constructor MonitorObject(const MonitorObject& other); diff --git a/Framework/src/MonitorObject.cxx b/Framework/src/MonitorObject.cxx index bde7ceb7db..8816c33436 100644 --- a/Framework/src/MonitorObject.cxx +++ b/Framework/src/MonitorObject.cxx @@ -17,7 +17,7 @@ #include "QualityControl/MonitorObject.h" #include #include "QualityControl/RepoPathUtils.h" -#include "QualityControl/QcInfoLogger.h" +// #include "QualityControl/QcInfoLogger.h" #include @@ -90,14 +90,14 @@ void MonitorObject::Draw(Option_t* option) if (mObject) { mObject->Draw(option); } else { - ILOG(Error, Devel) << "MonitorObject::Draw() : You are trying to draw MonitorObject with no internal TObject" << ENDM; + // ILOG(Error, Devel) << "MonitorObject::Draw() : You are trying to draw MonitorObject with no internal TObject" << ENDM; } } TObject* MonitorObject::DrawClone(Option_t* option) const { if (!mObject) { - ILOG(Error, Devel) << "MonitorObject::DrawClone() : You are trying to draw MonitorObject with no internal TObject" << ENDM; + // ILOG(Error, Devel) << "MonitorObject::DrawClone() : You are trying to draw MonitorObject with no internal TObject" << ENDM; return nullptr; } @@ -115,7 +115,7 @@ const std::string MonitorObject::getName() const const char* MonitorObject::GetName() const { if (!mObject) { - ILOG(Error, Ops) << "MonitorObject::getName() : No object in this MonitorObject, returning empty string" << ENDM; + // ILOG(Error, Ops) << "MonitorObject::getName() : No object in this MonitorObject, returning empty string" << ENDM; return ""; } return mObject->GetName();