]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONPainterInterfaceHelper.cxx
Fixing coding conventions (const arguments in functions)
[u/mrichter/AliRoot.git] / MUON / AliMUONPainterInterfaceHelper.cxx
index 0156550cef5c62dc7768180b385fadb1e95e47a1..96d3a233f96625ce8cd2b5729a846b3b34a2ee7e 100644 (file)
@@ -199,7 +199,7 @@ AliMUONPainterInterfaceHelper::FindButtonByName(const TGButtonGroup& bg,
 //_____________________________________________________________________________
 TGButton* 
 AliMUONPainterInterfaceHelper::FindButtonByUserData(const TGButtonGroup& bg, 
-                                                    void* userData)
+                                                    const void* userData)
 {
   /// Find a button by userData
   
@@ -333,7 +333,7 @@ AliMUONPainterInterfaceHelper::Unselect(TGButtonGroup& bg,
 //_____________________________________________________________________________
 void
 AliMUONPainterInterfaceHelper::RemoveButton(TGButtonGroup& bg,
-                                            TGButton* button)
+                                            const TGButton* button)
 {
   /// Remove a button