]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterInterfaceHelper.cxx
Go from pointer to ifstream to ifstream.
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterInterfaceHelper.cxx
index 0156550cef5c62dc7768180b385fadb1e95e47a1..95f2b60a8b283e4ebc1c9395fd54b397ce92f0a1 100644 (file)
@@ -43,6 +43,8 @@
 #include <RVersion.h>
 #include <cassert>
 
+using std::cout;
+using std::endl;
 ///\cond CLASSIMP
 ClassImp(AliMUONPainterInterfaceHelper)
 ///\endcond
@@ -158,7 +160,7 @@ AliMUONPainterInterfaceHelper::Dump(const TGButtonGroup& bg)
     TGTextButton* button = static_cast<TGTextButton*>(bg.GetButton(i));
     if ( button ) 
     {
-      cout << Form("i %2d button %s id %d wid %d ON %d",
+      cout << Form("i %2d button %s id %lu wid %d ON %d",
                  i,button->GetTitle(),button->GetId(),
                  button->WidgetId(),
                  button->IsOn()) << endl;
@@ -199,7 +201,7 @@ AliMUONPainterInterfaceHelper::FindButtonByName(const TGButtonGroup& bg,
 //_____________________________________________________________________________
 TGButton* 
 AliMUONPainterInterfaceHelper::FindButtonByUserData(const TGButtonGroup& bg, 
-                                                    void* userData)
+                                                    const void* userData)
 {
   /// Find a button by userData
   
@@ -333,7 +335,7 @@ AliMUONPainterInterfaceHelper::Unselect(TGButtonGroup& bg,
 //_____________________________________________________________________________
 void
 AliMUONPainterInterfaceHelper::RemoveButton(TGButtonGroup& bg,
-                                            TGButton* button)
+                                            const TGButton* button)
 {
   /// Remove a button