]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor changes to improve interface consistency of this class.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 13:51:16 +0000 (13:51 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 18 Apr 2008 13:51:16 +0000 (13:51 +0000)
HLT/MUON/AliHLTMUONList.h

index 289865167babd9741a3e5bedfc315de52c2efe8a..42066f864b0d1003098b6f3b4f5af17dadba2c41 100644 (file)
@@ -595,11 +595,11 @@ protected:
        
        struct NodeEntry
        {
-               bool fFree; // Is this block free.
+               bool fFree; // Indicates if this block is free.
                Node fNode; // The node structure.
        };
        
-       AliHLTUInt32_t fNextFree;   // The next free entry that is presumably free.
+       AliHLTUInt32_t fNextFree;   // The next entry that is presumably free.
        AliHLTUInt32_t fMaxEntries; // The number of node entries that can be stored in fEntries.
        NodeEntry* fEntry;          // Buffer of preallocated node entries.
        
@@ -630,7 +630,7 @@ protected:
                throw std::bad_alloc();
        }
        
-       Node* NewNode(const DataType& data)
+       Node* NewNode(const DataType& data) throw(std::bad_alloc)
        {
                //return new Node(data);
                assert( fNextFree < fMaxEntries );