From: fred Date: Sun, 24 Nov 1996 21:21:27 +0000 (+0000) Subject: flower-1.0.8 X-Git-Tag: release/1.5.59~6760 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6c63c8f818d4046946228961de33b7ec6c9a7c05;p=lilypond.git flower-1.0.8 --- diff --git a/flower/pcursor.hh b/flower/pcursor.hh index 6cc3433e25..5e535300d7 100644 --- a/flower/pcursor.hh +++ b/flower/pcursor.hh @@ -17,7 +17,9 @@ struct PCursor : public Cursor { PCursor operator -( int no) const { return PCursor (Cursor::operator-(no)); } - + int operator -(PCursor op) const { + return Cursor::operator-(op); + } /// make cursor with #no# items further PCursor operator +( int no) const { return PCursor (Cursor::operator+(no)); @@ -45,7 +47,7 @@ don't create PointerList's template inline int pcursor_compare(PCursor a,PCursorb) { - return cursor_compare(Cursor(b),Cursor (a)); + return cursor_compare(Cursor(a),Cursor (b)); } #include "compare.hh"