1.1 --- a/lemon/bits/alteration_notifier.h Fri Mar 02 17:56:22 2007 +0000
1.2 +++ b/lemon/bits/alteration_notifier.h Fri Mar 02 18:04:28 2007 +0000
1.3 @@ -148,8 +148,8 @@
1.4 /// \brief Constructor which attach the observer into notifier.
1.5 ///
1.6 /// Constructor which attach the observer into notifier.
1.7 - ObserverBase(AlterationNotifier& notifier) {
1.8 - attach(notifier);
1.9 + ObserverBase(AlterationNotifier& nf) {
1.10 + attach(nf);
1.11 }
1.12
1.13 /// \brief Constructor which attach the obserever to the same notifier.
1.14 @@ -158,7 +158,7 @@
1.15 /// the other observer is attached to.
1.16 ObserverBase(const ObserverBase& copy) {
1.17 if (copy.attached()) {
1.18 - attach(*copy._notifier());
1.19 + attach(*copy.notifier());
1.20 }
1.21 }
1.22
1.23 @@ -173,8 +173,8 @@
1.24 ///
1.25 /// This member attaches the observer into an AlterationNotifier.
1.26 ///
1.27 - void attach(AlterationNotifier& notifier) {
1.28 - notifier.attach(*this);
1.29 + void attach(AlterationNotifier& nf) {
1.30 + nf.attach(*this);
1.31 }
1.32
1.33 /// \brief Detaches the observer into an AlterationNotifier.