Author: fejj
Date: 2007-08-31 14:47:39 -0400 (Fri, 31 Aug 2007)
New Revision: 85148
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/list.cpp
trunk/moon/src/list.h
Log:
2007-08-31 Jeffrey Stedfast <[EMAIL PROTECTED]>
* list.cpp (Node): Added virtual destructor.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-08-31 18:10:24 UTC (rev 85147)
+++ trunk/moon/src/ChangeLog 2007-08-31 18:47:39 UTC (rev 85148)
@@ -1,3 +1,7 @@
+2007-08-31 Jeffrey Stedfast <[EMAIL PROTECTED]>
+
+ * list.cpp (Node): Added virtual destructor.
+
2007-08-31 Sebastien Pouliot <[EMAIL PROTECTED]>
* media.cpp, panel.cpp, shape.cpp, text.cpp: Calling GrowBy
Modified: trunk/moon/src/list.cpp
===================================================================
--- trunk/moon/src/list.cpp 2007-08-31 18:10:24 UTC (rev 85147)
+++ trunk/moon/src/list.cpp 2007-08-31 18:47:39 UTC (rev 85148)
@@ -25,6 +25,13 @@
}
+List::Node::~Node ()
+{
+ next->prev = prev;
+ prev->next = next;
+}
+
+
List::Node *
List::Node::Next ()
{
Modified: trunk/moon/src/list.h
===================================================================
--- trunk/moon/src/list.h 2007-08-31 18:10:24 UTC (rev 85147)
+++ trunk/moon/src/list.h 2007-08-31 18:47:39 UTC (rev 85148)
@@ -23,6 +23,7 @@
// public
Node ();
+ virtual ~Node ();
Node *Next ();
Node *Prev ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches