~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/inc/Puma/List.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  const ListElement *first () const { return _first; }
60
60
  const ListElement *last () const { return _last; }
61
61
  const ListElement *next (const ListElement *element) const
62
 
   { return element->_next; }
 
62
   { return element ? element->_next : 0; }
63
63
  const ListElement *prev (const ListElement *element) const 
64
 
   { return element->_prev; }
 
64
   { return element ? element->_prev : 0; }
65
65
};
66
66
 
67
67