From 6c63c8f818d4046946228961de33b7ec6c9a7c05 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Nov 1996 21:21:27 +0000 Subject: [PATCH] flower-1.0.8 --- flower/pcursor.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" -- 2.39.5