comparison src/oct-stream.cc @ 11570:57632dea2446

attempt better backward compatibility for Array constructors
author John W. Eaton <jwe@octave.org>
date Wed, 19 Jan 2011 17:55:56 -0500
parents fd0a3ac60b0e
children a83bad07f7e3
comparison
equal deleted inserted replaced
11569:7e9a111cae20 11570:57632dea2446
152 nc = get_size (dnc, who); 152 nc = get_size (dnc, who);
153 } 153 }
154 } 154 }
155 155
156 scanf_format_list::scanf_format_list (const std::string& s) 156 scanf_format_list::scanf_format_list (const std::string& s)
157 : nconv (0), curr_idx (0), list (16, 1), buf (0) 157 : nconv (0), curr_idx (0), list (dim_vector (16, 1)), buf (0)
158 { 158 {
159 octave_idx_type num_elts = 0; 159 octave_idx_type num_elts = 0;
160 160
161 size_t n = s.length (); 161 size_t n = s.length ();
162 162
572 } 572 }
573 573
574 // Ugh again. 574 // Ugh again.
575 575
576 printf_format_list::printf_format_list (const std::string& s) 576 printf_format_list::printf_format_list (const std::string& s)
577 : nconv (0), curr_idx (0), list (16, 1), buf (0) 577 : nconv (0), curr_idx (0), list (dim_vector (16, 1)), buf (0)
578 { 578 {
579 octave_idx_type num_elts = 0; 579 octave_idx_type num_elts = 0;
580 580
581 size_t n = s.length (); 581 size_t n = s.length ();
582 582