coverity fix
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Mar 2011 15:50:20 +0000 (15:50 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Mar 2011 15:50:20 +0000 (15:50 +0000)
HLT/JET/AliHLTJETReader.h

index 8cc745c..fe274ca 100644 (file)
@@ -169,7 +169,7 @@ public:
   /** Get Ptr to AliHLTJETReaderHeader
    *  @return ptr to AliHLTJETReaderHeader
    */
-  AliHLTJETReaderHeader*      GetReaderHeader()       { return dynamic_cast<AliHLTJETReaderHeader*>(fReaderHeader);}
+  AliHLTJETReaderHeader*      GetReaderHeader() const { return dynamic_cast<AliHLTJETReaderHeader*>(fReaderHeader);}
 
 #ifdef HAVE_FASTJET
   /** Get Ptr to input vector of Fastjet