(file) Return to List.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/List.cpp between version 1.1.2.4 and 1.1.2.6

version 1.1.2.4, 2006/06/30 19:50:21 version 1.1.2.6, 2006/06/30 20:07:50
Line 86 
Line 86 
         {         {
             PEGASUS_LIST_ASSERT(p->magic == PEGASUS_LINKABLE_MAGIC);             PEGASUS_LIST_ASSERT(p->magic == PEGASUS_LINKABLE_MAGIC);
             Linkable* next = p->next;             Linkable* next = p->next;
               p->list = 0;
             _destructor(p);             _destructor(p);
             p = next;             p = next;
         }         }
Line 218 
Line 219 
     PEGASUS_LIST_ASSERT(elem != 0);     PEGASUS_LIST_ASSERT(elem != 0);
     PEGASUS_LIST_ASSERT(elem->magic == PEGASUS_LINKABLE_MAGIC);     PEGASUS_LIST_ASSERT(elem->magic == PEGASUS_LINKABLE_MAGIC);
  
     return elem && elem->list == this;  
   
 #if 0  
     for (const Linkable* p = _front; p; p = p->next)     for (const Linkable* p = _front; p; p = p->next)
     {     {
         if (p == elem)         if (p == elem)
Line 229 
Line 227 
  
     // Not found!     // Not found!
     return false;     return false;
 #endif  
 } }
  
 Linkable* ListRep::remove_front() Linkable* ListRep::remove_front()


Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2