From: <hi...@us...> - 2010-01-28 12:56:34
|
Revision: 6804 http://octave.svn.sourceforge.net/octave/?rev=6804&view=rev Author: highegg Date: 2010-01-28 12:56:26 +0000 (Thu, 28 Jan 2010) Log Message: ----------- make packfields 3.2.x compatible Modified Paths: -------------- trunk/octave-forge/main/general/src/packfields.cc Modified: trunk/octave-forge/main/general/src/packfields.cc =================================================================== --- trunk/octave-forge/main/general/src/packfields.cc 2010-01-27 19:26:32 UTC (rev 6803) +++ trunk/octave-forge/main/general/src/packfields.cc 2010-01-28 12:56:26 UTC (rev 6804) @@ -46,7 +46,9 @@ { std::string struct_name = args (0).string_value (); string_vector fld_names(nargin-1); - octave_value_list fld_vals(nargin-1); + //octave_value_list fld_vals(nargin-1); + // FIXME: workaround for 3.2.4. + octave_value_list fld_vals (nargin-1, octave_value ()); if (! error_state && ! valid_identifier (struct_name)) error ("packfields: invalid variable name: %s", struct_name.c_str ()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |