Reverting commit 45992: the ifdefs are needed to compile with v5-27-06-patches
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Dec 2010 11:15:45 +0000 (11:15 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Dec 2010 11:15:45 +0000 (11:15 +0000)
EVE/EveDet/AliEveITSScaledModule.cxx

index adf4cea97df148aea969ce8a8a0f95cb21e4c246..7df803e1c75aecac15b5e6ede514642bb514a4f5 100644 (file)
@@ -43,7 +43,11 @@ void AliEveDigitScaleInfo::ScaleChanged(Int_t s)
   fScale = s;
 
   AliEveITSScaledModule* sm;
+#if ROOT_VERSION_CODE >= 334599 
   RefMap_i i = fBackRefs.begin();
+#else
+  std::list<TEveElement*>::iterator i = fBackRefs.begin();
+#endif
   while (i != fBackRefs.end())
   {
 #if ROOT_VERSION_CODE >= 334599 
@@ -62,7 +66,11 @@ void AliEveDigitScaleInfo::StatTypeChanged(Int_t t)
   fSyncPalette = kTRUE;
 
   AliEveITSScaledModule* sm;
+#if ROOT_VERSION_CODE >= 334599 
   RefMap_i i = fBackRefs.begin();
+#else
+  std::list<TEveElement*>::iterator i = fBackRefs.begin();
+#endif
   while (i != fBackRefs.end())
   {
 #if ROOT_VERSION_CODE >= 334599