]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Making GetInputBlock method const.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 2 Aug 2008 21:34:05 +0000 (21:34 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 2 Aug 2008 21:34:05 +0000 (21:34 +0000)
HLT/BASE/AliHLTComponent.cxx
HLT/BASE/AliHLTComponent.h

index 5390c67af75e3f16565c297e1f3cc51c94de6320..df76ad341af092431543e0e30803e42b55167450 100644 (file)
@@ -915,7 +915,7 @@ const AliHLTComponentBlockData* AliHLTComponent::GetFirstInputBlock(const char*
   return GetFirstInputBlock(dt);
 }
 
-const AliHLTComponentBlockData* AliHLTComponent::GetInputBlock(int index)
+const AliHLTComponentBlockData* AliHLTComponent::GetInputBlock(int index) const
 {
   // see header file for function documentation
   ALIHLTCOMPONENT_BASE_STOPWATCH();
index 583c22312ba6edaf5d04caf58447dcebf18b03d9..933985e3797774a1a5553482886dbe28b7f9c130 100644 (file)
@@ -901,7 +901,7 @@ class AliHLTComponent : public AliHLTLogging {
    * \em Note: THE BLOCK DESCRIPTOR MUST NOT BE DELETED by the caller.
    * @return pointer to AliHLTComponentBlockData, NULL if index out of range
    */
-  const AliHLTComponentBlockData* GetInputBlock(int index);
+  const AliHLTComponentBlockData* GetInputBlock(int index) const;
 
   /**
    * Get the next block of a specific data type from the input data.