From aaf72c11c45686ad05305b870ec3513a6962bad6 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 15 Aug 2017 14:05:44 +0200
Subject: [PATCH] LCIOFileReader: fix llvm40 compiler error; fix printout,
 cannot use std::string

---
 DDG4/lcio/LCIOFileReader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDG4/lcio/LCIOFileReader.cpp b/DDG4/lcio/LCIOFileReader.cpp
index 0ded547c4..69fd8c7ec 100644
--- a/DDG4/lcio/LCIOFileReader.cpp
+++ b/DDG4/lcio/LCIOFileReader.cpp
@@ -120,7 +120,7 @@ dd4hep::sim::LCIOFileReader::readParticleCollection(int /*event_number*/, EVENT:
     *particles = evt->getCollection(m_collectionName);
     if ( *particles ) {
       printout(INFO,"LCIOFileReader","read collection %s from event %d in run %d ", 
-               m_collectionName, evt->getEventNumber(), evt->getRunNumber());
+               m_collectionName.c_str(), evt->getEventNumber(), evt->getRunNumber());
       return EVENT_READER_OK;
     }
   }
-- 
GitLab