diff liboctave/ODE.h @ 11504:81ff63e43f54

really make destuctors virtual in ODE/DAE base classes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 03:28:21 -0500
parents cbc402e64d83
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/ODE.h
+++ b/liboctave/ODE.h
@@ -51,7 +51,7 @@
       return *this;
     }
 
-  ~ODE (void) { }
+  virtual ~ODE (void) { }
 
   // Derived classes must provide functions to actually do the
   // integration.