FACT++  1.0
SLLItem* SLList::removeHead ( )
inline

Definition at line 54 of file sllist.hxx.

References SLLItem::next.

55  {
56  SLLItem *ptr;
57 
58  DISABLE_AST
59  ptr = head->next;
60  if(ptr)
61  {
62  head->next = ptr->next;
63  curr = head->next;
64  }
65  ENABLE_AST
66  return( ptr);
67  }
SLLItem * head
Definition: sllist.hxx:14
SLLItem * next
Definition: sllist.hxx:6
SLLItem * curr
Definition: sllist.hxx:15