diff --git a/core/detectors/rich/CbmMcbm2018RichPar.cxx b/core/detectors/rich/CbmMcbm2018RichPar.cxx
index fa528d54dc52cf4a98ca8f42a729e32fcdd92a90..6a92b499a72a8b32c27f6bf8794be07126109a89 100644
--- a/core/detectors/rich/CbmMcbm2018RichPar.cxx
+++ b/core/detectors/rich/CbmMcbm2018RichPar.cxx
@@ -99,7 +99,7 @@ Double_t CbmMcbm2018RichPar::GetToTshift2(Int_t tdcIdx, Int_t ch) const
   return fToTshiftMap[tdcIdx * 33 + ch];
 }
 
-void CbmMcbm2018RichPar::Print() const
+void CbmMcbm2018RichPar::Print(Option_t*) const
 {
   LOG(info) << "Nb available TRB addresses: " << GetNaddresses();
 
diff --git a/core/detectors/rich/CbmMcbm2018RichPar.h b/core/detectors/rich/CbmMcbm2018RichPar.h
index b22d191a163135d2934ebe3a911d1cba43be28a4..d2bcdb27e3b9cd162bab183b6c2b2d8f93b9535d 100644
--- a/core/detectors/rich/CbmMcbm2018RichPar.h
+++ b/core/detectors/rich/CbmMcbm2018RichPar.h
@@ -60,7 +60,7 @@ public:
 	 */
   Double_t GetToTshift2(Int_t tdcIdx, Int_t ch) const;
 
-  void Print() const;
+  void Print(Option_t* option = "") const;
 
 private:  // Stored in the par file
   /**