From 29179d8deef2a2b65d363f3751197ae776f9aa7a Mon Sep 17 00:00:00 2001
From: Hass AbouZeid <hass.abouzeid@cern.ch>
Date: Thu, 13 Apr 2017 14:27:45 +0000
Subject: [PATCH] Merge branch 'G4SimAthenaPOOL_buildWarning' into '21.0-mc16a'

Fix Gaudi build warnings in G4SimAthenaPOOL

See merge request !749

Former-commit-id: e8de8726ec2f6c0b320ec9c5116b1b906381fafd
---
 .../G4SimCnv/G4SimAthenaPOOL/src/TrackRecordCollectionCnv.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Simulation/G4SimCnv/G4SimAthenaPOOL/src/TrackRecordCollectionCnv.cxx b/Simulation/G4SimCnv/G4SimAthenaPOOL/src/TrackRecordCollectionCnv.cxx
index ee28edc0a12..639b648687e 100755
--- a/Simulation/G4SimCnv/G4SimAthenaPOOL/src/TrackRecordCollectionCnv.cxx
+++ b/Simulation/G4SimCnv/G4SimAthenaPOOL/src/TrackRecordCollectionCnv.cxx
@@ -10,7 +10,7 @@
 typedef AtlasHitsVector<TrackRecord> TrackRecordCollection_p0;
 
 TrackRecordCollection_PERS* TrackRecordCollectionCnv::createPersistent(TrackRecordCollection* transCont) {
-   MsgStream mlog(messageService(), "TrackRecordCollectionConverter" );
+   MsgStream mlog(msgSvc(), "TrackRecordCollectionConverter" );
    TrackRecordCollectionCnv_p2   converter;
    TrackRecordCollection_PERS *persObj = converter.createPersistent( transCont, mlog );
    return persObj;
@@ -19,7 +19,7 @@ TrackRecordCollection_PERS* TrackRecordCollectionCnv::createPersistent(TrackReco
 
 TrackRecordCollection* TrackRecordCollectionCnv::createTransient() {
 
-    MsgStream mlog(messageService(), "TrackRecordCollectionConverter" );
+    MsgStream mlog(msgSvc(), "TrackRecordCollectionConverter" );
     TrackRecordCollectionCnv_p1   converter;
     TrackRecordCollectionCnv_p2   converter_p2;
     TrackRecordCollection       *trans_cont(0);
-- 
GitLab