Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/bits/alteration_notifier.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/alteration_notifier.h
r2384 r2386 149 149 /// 150 150 /// Constructor which attach the observer into notifier. 151 ObserverBase(AlterationNotifier& n otifier) {152 attach(n otifier);151 ObserverBase(AlterationNotifier& nf) { 152 attach(nf); 153 153 } 154 154 … … 159 159 ObserverBase(const ObserverBase& copy) { 160 160 if (copy.attached()) { 161 attach(*copy. _notifier());161 attach(*copy.notifier()); 162 162 } 163 163 } … … 174 174 /// This member attaches the observer into an AlterationNotifier. 175 175 /// 176 void attach(AlterationNotifier& n otifier) {177 n otifier.attach(*this);176 void attach(AlterationNotifier& nf) { 177 nf.attach(*this); 178 178 } 179 179
Note: See TracChangeset
for help on using the changeset viewer.