~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to AspectC++/JPAdvice.cc

  • 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:
83
83
   return out;
84
84
 }
85
85
 
86
 
void JPAdvice::addTJPFlags(AdviceInfo &advice) {
87
 
  _tjp.merge (advice.code ().this_join_point ());
 
86
void JPAdvice::addTJPFlags(AdviceInfo &advice_info) {
 
87
  _tjp.merge (TI_AdviceCode::of (advice_info.code ())->this_join_point ());
88
88
 
89
 
  if (advice.aspect()) {
90
 
    _tjp.merge (advice.aspect()->aspectof_this_join_point());
91
 
  }
 
89
//  if (advice.aspect()) {
 
90
    _tjp.merge (advice_info.aspect_info().aspectof_this_join_point());
 
91
//  }
92
92
  
93
93
  ThisJoinPoint context_vars;
94
 
  context_vars.setup (advice.code ().binding ());
 
94
  context_vars.setup (advice_info.binding ());
95
95
  _tjp.merge (context_vars);
96
96
}
97
97