X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fcursor.hh;h=a7e5a1836d911cc9bb86722384078b49ee7cd9dc;hb=59ed0cee2aae58a3f0483f21261c68aee406fa10;hp=7aea72d3347fabffb3d36b5b6c9f82d0a6b86ac7;hpb=0d1109b28ecf554b7656e0018c0c9fbeec8258a8;p=lilypond.git diff --git a/flower/include/cursor.hh b/flower/include/cursor.hh index 7aea72d334..a7e5a1836d 100644 --- a/flower/include/cursor.hh +++ b/flower/include/cursor.hh @@ -21,10 +21,6 @@ public: /** create cursor, set at top. The const part isn't true, actually, #list# surely isn't const, but I get tired of the warning messages. */ Cursor (const List& list, Link* pointer = 0); - /** - Create an invalid cursor (pointing to nothing, associated with no list.) - */ - Cursor(); Cursor (const Cursor& cursor); T& thing(); @@ -94,12 +90,14 @@ public: void del(); /// access the list this came from - List& list() const ; + List* list_l() const ; Link* pointer(); static int compare (Cursor a,Cursorb) { return a-b; } + private: - List& list_; + Link* pointer_; + List* list_l_; };