From aa0e04afdbe0458a4a1852751ff8d321d290edb2 Mon Sep 17 00:00:00 2001
From: Markus Frank <markus.frank@cern.ch>
Date: Wed, 2 Jul 2014 14:53:42 +0000
Subject: [PATCH] Compile error fix for gcc44

---
 DDG4/lcio/Geant4Output2LCIO.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DDG4/lcio/Geant4Output2LCIO.cpp b/DDG4/lcio/Geant4Output2LCIO.cpp
index f5f6f9024..b2b58f81a 100644
--- a/DDG4/lcio/Geant4Output2LCIO.cpp
+++ b/DDG4/lcio/Geant4Output2LCIO.cpp
@@ -152,8 +152,8 @@ void Geant4Output2LCIO::saveRun(const G4Run* run)  {
 void Geant4Output2LCIO::begin(const G4Event* event){
   lcio::LCEventImpl* e  = new lcio::LCEventImpl;
   //fg: fixme: should be this call (deleting the pointer in the end) but that does not compile ...
-  //  context()->event().addExtension<lcio::LCEventImpl>( e );
-  context()->event().addExtension(e);
+  context()->event().addExtension<lcio::LCEventImpl>( e );
+  //context()->event().addExtension(e);
   //context()->event().addExtension( e , typeid( lcio::LCEventImpl ), 0);
   //  std::cout << " ########### Geant4Output2LCIO::begin  add new LCIO event  event context " << std::endl ;
 }
-- 
GitLab