diff liboctave/file-stat.h @ 11506:964b7fd379f1

more constructor/destructor fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 05:42:24 -0500
parents cbc402e64d83
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/file-stat.h
+++ b/liboctave/file-stat.h
@@ -75,8 +75,6 @@
     return *this;
   }
 
-  ~base_file_stat (void) { }
-
   // The minimum difference in file time stamp values.
   // FIXME -- this value should come from the filesystem itself.  How
   // can we get that info?
@@ -147,6 +145,8 @@
 
 protected:
 
+  virtual ~base_file_stat (void) { }
+
   // TRUE means we have already called stat.
   bool initialized;