changeset 8024:dc36eb214129

ov.cc (octave_value::idx_type_value): don't include default argument value in definition
author John W. Eaton <jwe@octave.org>
date Thu, 07 Aug 2008 16:00:11 -0400
parents 0ff67bd96f8d
children 60e938e1459b
files src/ChangeLog src/ov.cc
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Aug 07 15:41:07 2008 -0400
+++ b/src/ChangeLog	Thu Aug 07 16:00:11 2008 -0400
@@ -1,5 +1,8 @@
 2008-08-07  John W. Eaton  <jwe@octave.org>
 
+	* ov.cc (octave_value::idx_type_value): Don't include default
+	argument values in definition.
+
 	* src/glrender.h, src/zfstream.h: Don't include config.h.
 
 	* oct-errno.h: Include <cerrno>.
--- a/src/ov.cc	Thu Aug 07 15:41:07 2008 -0400
+++ b/src/ov.cc	Thu Aug 07 16:00:11 2008 -0400
@@ -1231,8 +1231,7 @@
 // needing definitions for the SIZEOF_X macros in ov.h.
 
 octave_idx_type
-octave_value::idx_type_value (bool req_int = false,
-			      bool frc_str_conv = false) const
+octave_value::idx_type_value (bool req_int, bool frc_str_conv) const
 {
 #if SIZEOF_OCTAVE_IDX_TYPE == SIZEOF_LONG
   return long_value (req_int, frc_str_conv);