Skip to content
Snippets Groups Projects
Commit 467962bb authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

Fix deprecation warning for ROOT serdes method in old Histo MQ device

parent e731225f
No related branches found
No related tags found
1 merge request!893Fix warnings introduced by mCBM MRs + some similar ones
...@@ -45,7 +45,7 @@ void CbmHistoServer::InitTask() ...@@ -45,7 +45,7 @@ void CbmHistoServer::InitTask()
bool CbmHistoServer::ReceiveData(FairMQMessagePtr& msg, int /*index*/) bool CbmHistoServer::ReceiveData(FairMQMessagePtr& msg, int /*index*/)
{ {
TObject* tempObject = nullptr; TObject* tempObject = nullptr;
Deserialize<RootSerializer>(*msg, tempObject); RootSerializer().Deserialize(*msg, tempObject);
if (TString(tempObject->ClassName()).EqualTo("TObjArray")) { if (TString(tempObject->ClassName()).EqualTo("TObjArray")) {
std::lock_guard<std::mutex> lk(mtx); std::lock_guard<std::mutex> lk(mtx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment