TMessage::SetLength() is private in Root 5.34/10
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Oct 2013 21:15:14 +0000 (21:15 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Oct 2013 21:15:14 +0000 (21:15 +0000)
MONITOR/AliRecoServerThread.cxx

index 1275a3c..df12607 100644 (file)
@@ -109,7 +109,7 @@ void AliRecoServerThread::SendStreamerInfos(TMessage* mess, zmq::socket_t *sock)
          delete minilist;
          if (messinfo.GetStreamerInfos())
             messinfo.GetStreamerInfos()->Clear();
-#if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)           
+#if ROOT_VERSION_CODE < ROOT_VERSION(5,34,10)           
            messinfo.SetLength();
 #endif
            
@@ -138,7 +138,7 @@ void AliRecoServerThread::SendEvent(AliESDEvent* event, zmq::socket_t* socket)
   TMessage::EnableSchemaEvolutionForAll(kTRUE);
   SendStreamerInfos(&tmess, socket);
 
-#if ROOT_VERSION_CODE < ROOT_VERSION(5,99,0)           
+#if ROOT_VERSION_CODE < ROOT_VERSION(5,34,10)           
   tmess.SetLength();
 #endif
   int bufsize = tmess.Length();