From ea6171c8f9a6af2a0a7788f8fc119e9b35fab404 Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 19 Dec 1996 10:33:32 +0000 Subject: [PATCH] flower-1.0.15 --- flower/cursor.hh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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" -- 2.39.5