From 8f0571667ccf4f1d40279da443d7e8af91f99244 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 15 Jan 1997 20:47:30 +0000 Subject: [PATCH] flower-1.0.20 --- flower/pcursor.hh | 4 ++-- flower/plist.tcc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flower/pcursor.hh b/flower/pcursor.hh index 383a450a1a..a6b99c9097 100644 --- a/flower/pcursor.hh +++ b/flower/pcursor.hh @@ -18,8 +18,8 @@ struct PCursor : private Cursor { void junk(); public: Cursor::ok; - void del() { junk(); Cursor::del(); } - void backspace() { junk(); Cursor::backspace(); } + Cursor::del; + Cursor::backspace; T get() { T p = ptr(); Cursor::del(); diff --git a/flower/plist.tcc b/flower/plist.tcc index 69986035d2..1dea8cefc1 100644 --- a/flower/plist.tcc +++ b/flower/plist.tcc @@ -5,7 +5,7 @@ IPointerList::~IPointerList() { PCursor c( *this ); while (c.ok()) { - c.del(); + delete c.get(); } } -- 2.39.5