diff src/ov-str-mat.h @ 5885:bd3041e30d97

[project @ 2006-07-14 20:29:35 by jwe]
author jwe
date Fri, 14 Jul 2006 20:29:35 +0000
parents 4c16f3104aa5
children b9676944b7a2
line wrap: on
line diff
--- a/src/ov-str-mat.h	Fri Jul 14 18:57:19 2006 +0000
+++ b/src/ov-str-mat.h	Fri Jul 14 20:29:35 2006 +0000
@@ -85,7 +85,8 @@
 
   type_conv_fcn numeric_conversion_function (void) const;
 
-  octave_value do_index_op (const octave_value_list& idx, int resize_ok)
+  octave_value do_index_op (const octave_value_list& idx,
+			    bool resize_ok = false)
     { return do_index_op_internal (idx, resize_ok); }
 
   void assign (const octave_value_list& idx, const charMatrix& rhs);
@@ -152,7 +153,7 @@
 protected:
 
   octave_value do_index_op_internal (const octave_value_list& idx,
-				     int resize_ok, char type = '"');
+				     bool resize_ok, char type = '"');
 
 private:
 
@@ -215,7 +216,8 @@
 
   bool is_sq_string (void) const { return true; }
 
-  octave_value do_index_op (const octave_value_list& idx, int resize_ok)
+  octave_value do_index_op (const octave_value_list& idx,
+			    bool resize_ok = false)
     { return do_index_op_internal (idx, resize_ok, '\''); }
 
 private: