1. binet
  2. gaudi

Commits

leggett  committed 6dc88b9

bug #63502: assumption of converter name

  • Participants
  • Parent commits 211fe5e
  • Branches GAUDI

Comments (0)

Files changed (1)

File GAUDI_v20r4-branch/GaudiKernel/src/Lib/Converter.cpp

View file
 
 // Include Files
 #include "GaudiKernel/Converter.h"
+#include "GaudiKernel/INamedInterface.h"
 #include "GaudiKernel/ISvcLocator.h"
 #include "GaudiKernel/IMessageSvc.h"
 #include "GaudiKernel/IDataManagerSvc.h"
 		     const InterfaceID& iid, void** ppSvc) const {
   StatusCode sc(StatusCode::FAILURE);
   // Check for name of conversion service
-  ConversionSvc* cnvsvc =
-    dynamic_cast<ConversionSvc*> (Converter::conversionSvc());
+  INamedInterface* cnvsvc =
+    dynamic_cast<INamedInterface*> (Converter::conversionSvc());
   if( cnvsvc != 0 ) {
     MsgStream log(msgSvc(),"Converter");
     ServiceLocatorHelper helper(*serviceLocator(), log, cnvsvc->name());