From: fred Date: Thu, 19 Dec 1996 10:33:32 +0000 (+0000) Subject: flower-1.0.15 X-Git-Tag: release/1.5.59~6550 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ea6171c8f9a6af2a0a7788f8fc119e9b35fab404;p=lilypond.git flower-1.0.15 --- diff --git a/flower/cursor.hh b/flower/cursor.hh index 6d40bb270d..428a52748f 100644 --- a/flower/cursor.hh +++ b/flower/cursor.hh @@ -84,7 +84,7 @@ class Cursor /// access the list this came from List& list() const ; Link* pointer(); - + static int compare(Cursor a,Cursorb) { return a-b; } private: List& list_; Link* pointer_; @@ -104,13 +104,8 @@ private: */ #include "compare.hh" -template -inline int cursor_compare(Cursor a,Cursorb) -{ - return a-b; -} -template_instantiate_compare(Cursor, cursor_compare, template); +template_instantiate_compare(Cursor, Cursor::compare, template); #include "pcursor.hh" #include "list.hh"