diff options
Diffstat (limited to 'flower/cursor.hh')
-rw-r--r-- | flower/cursor.hh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/flower/cursor.hh b/flower/cursor.hh index cff93c68ce..1c61b1a76c 100644 --- a/flower/cursor.hh +++ b/flower/cursor.hh @@ -11,7 +11,10 @@ template<class T> class Cursor { public: - Cursor( List<T>& list, Link<T>* pointer = 0 ); + Cursor( const List<T>& list, Link<T>* pointer = 0 ); + /** this isn't true, actually, #list# surely isn't const, but I get + tired of the warning messages. */ + Cursor( const Cursor<T>& cursor ); /// return current T @@ -100,17 +103,8 @@ private: /* - comparations. + comparisons. */ - - - - - - - - - #include "compare.hh" template<class T> |