X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fpcursor.hh;h=9e7959f8a126423b45a064a8c66081dd68c35f65;hb=59ed0cee2aae58a3f0483f21261c68aee406fa10;hp=981b43a10f0a577517f1b32fd83152618d783f18;hpb=0d1109b28ecf554b7656e0018c0c9fbeec8258a8;p=lilypond.git diff --git a/flower/include/pcursor.hh b/flower/include/pcursor.hh index 981b43a10f..9e7959f8a1 100644 --- a/flower/include/pcursor.hh +++ b/flower/include/pcursor.hh @@ -39,15 +39,15 @@ public: return remove_p(); } - Link_list &list() { return (Link_list&)Cursor::list (); } + Link_list *list_l() { return (Link_list *)Cursor::list_l (); } PCursor operator++(int) { return Cursor::operator++(0);} PCursor operator--(int) { return Cursor::operator--(0); } PCursor operator+=(int i) { return Cursor::operator+=(i);} PCursor operator-=(int i) { return Cursor::operator-=(i); } PCursor operator -(int no) const { return Cursor::operator-(no);} int operator -(PCursor op) const { return Cursor::operator-(op);} - PCursor operator +(int no) const {return Cursor::operator+(no);} PCursor (const Link_list & l) : Cursor (l) {} - PCursor() : Cursor () {} + PCursor operator +(int no) const {return Cursor::operator+(no);} + PCursor (const Link_list & l) : Cursor (l) {} PCursor (const Cursor& cursor) : Cursor(cursor) { } void* vptr() const { return *((Cursor &) *this); }