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

« back to all changes in this revision

Viewing changes to Puma/src/basics/ConstSizeMemPool.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:
45
45
    : m_Ratio (N) 
46
46
#endif
47
47
  {}
48
 
  ~ConstSizeMemPool () {}
 
48
  ~ConstSizeMemPool () {
 
49
    clean();
 
50
  }
49
51
 
50
52
  // don't rely on external instances, use singletons
51
53
  static ConstSizeMemPool &inst() {
60
62
    Chain *c = m_Trash.unlink ();
61
63
    while (c) {
62
64
      ::free (c);
63
 
//       ::delete c;
64
65
      c = m_Trash.unlink ();
65
66
    }
66
67
  }