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 2898651..42066f8 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 );