comparison src/ov.cc @ 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 260294a5520f
children cd90e2842080
comparison
equal deleted inserted replaced
8023:0ff67bd96f8d 8024:dc36eb214129
1229 1229
1230 // Define the idx_type_value function here instead of in ov.h to avoid 1230 // Define the idx_type_value function here instead of in ov.h to avoid
1231 // needing definitions for the SIZEOF_X macros in ov.h. 1231 // needing definitions for the SIZEOF_X macros in ov.h.
1232 1232
1233 octave_idx_type 1233 octave_idx_type
1234 octave_value::idx_type_value (bool req_int = false, 1234 octave_value::idx_type_value (bool req_int, bool frc_str_conv) const
1235 bool frc_str_conv = false) const
1236 { 1235 {
1237 #if SIZEOF_OCTAVE_IDX_TYPE == SIZEOF_LONG 1236 #if SIZEOF_OCTAVE_IDX_TYPE == SIZEOF_LONG
1238 return long_value (req_int, frc_str_conv); 1237 return long_value (req_int, frc_str_conv);
1239 #elif SIZEOF_OCTAVE_IDX_TYPE == SIZEOF_INT 1238 #elif SIZEOF_OCTAVE_IDX_TYPE == SIZEOF_INT
1240 return int_value (req_int, frc_str_conv); 1239 return int_value (req_int, frc_str_conv);