diff src/ls-oct-ascii.h @ 8212:ebf6f6a0f9a7

Allow saving/loading of classes. Add saveobj and loadobj methods
author David Bateman <dbateman@free.fr>
date Thu, 09 Oct 2008 20:09:13 +0100
parents 7d19f4f70c61
children eb63fbe60fab
line wrap: on
line diff
--- a/src/ls-oct-ascii.h
+++ b/src/ls-oct-ascii.h
@@ -72,7 +72,7 @@
 		 const bool next_only = false)
 {
   bool status = false;
-  value = 0;
+  value = T();
 
   char c;
   while (is.get (c))