~ubuntu-branches/ubuntu/jaunty/aspectc++/jaunty

« back to all changes in this revision

Viewing changes to Puma/gen-release/step2/src/ACSliceInfo.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-07-07 14:41:02 UTC
  • mfrom: (1.1.3 upstream) (6.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080707144102-lzml7t07f3sl00r5
Tags: 1.0pre4~svn.20080711-1
* new upstream snapshot.
* include all upstream documentation. Clarifying emails regarding
  licensing has been included into debian/copyright.
* reformat description following recomendations of
  http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description
  (Closes: #480316)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
#include "Puma/ACSliceInfo.h"
20
20
#include "Puma/ACTree.h"
21
 
#include "Puma/CClassDatabase.h"
 
21
#include "Puma/CSemDatabase.h"
22
22
 
23
23
namespace Puma {
24
24
 
103
103
  do {
104
104
    CT_ClassSliceDecl *csd = (CT_ClassSliceDecl*)curr->Tree ();
105
105
    if (csd->members () || csd->base_clause ())
106
 
      return curr->ClassDB ()->SliceInfo (curr);
 
106
      return curr->SemDB ()->SliceInfo (curr);
107
107
    curr = curr->NextObject ();
108
108
  } while (curr != _object);
109
109
  return (ACSliceInfo*)0;