-Fixed bug in offline buffer that deleted event object.
[u/mrichter/AliRoot.git] / EVE / hlt-macros / command_queue.C
index d5b454ab2aa7097810f24074432f517a28c2d742..54e1e27032eb615159f379a260ec3fa96b1d2f88 100644 (file)
@@ -4,7 +4,7 @@
 /**************************************************************************
  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
- * full copyright notice.                                                 * 
+ * full copyright notice.                                                 *
  **************************************************************************/
 #include <TObject.h>
 #include <TList.h>
@@ -115,7 +115,7 @@ void command_queue()
 
 #include <TRandom.h>
 
-void make_crap(void* arg) 
+void make_crap(void* arg)
 {
   Int_t num = 1024;
   TRandom rnd(0);
@@ -126,7 +126,7 @@ void make_crap(void* arg)
                     rnd.Uniform(-100, 100),
                     rnd.Uniform(-100, 100));
   }
-  ps->SetMainColor((Color_t)kRed);
+  ps->SetMainColor(kRed);
   printf("make_crap() -> produced TEvePointSet* %p)\n", ps);
 
   ((CommandQueue*)arg)->RegisterCommand