Mercurial > octave-nkf
comparison src/ls-mat5.cc @ 13874:c1b754d93572
copy parent class info when performing operations on class objects
* ov.h (octave_value::octave_value (const Octave_map&,
const std::string&, const std::list<std::string>&)):
Don't provide default value for parent_list argument.
Change all callers that used only two arguments.
* ov-class.h (octave_class::octave_class (const octave_map&,
const std::string&, const std::list<std::string>&)): Likewise.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 17 Nov 2011 04:01:04 -0500 |
parents | c0d102ad9bba |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
13873:1bf8c244040a | 13874:c1b754d93572 |
---|---|
1222 new octave_fcn_inline (m.contents("expr")(0).string_value(), | 1222 new octave_fcn_inline (m.contents("expr")(0).string_value(), |
1223 m.contents("args")(0).string_value()); | 1223 m.contents("args")(0).string_value()); |
1224 } | 1224 } |
1225 else | 1225 else |
1226 { | 1226 { |
1227 octave_class* cls = new octave_class (m, classname); | 1227 octave_class* cls |
1228 = new octave_class (m, classname, | |
1229 std::list<std::string> ()); | |
1228 | 1230 |
1229 if (cls->reconstruct_exemplar ()) | 1231 if (cls->reconstruct_exemplar ()) |
1230 { | 1232 { |
1231 | 1233 |
1232 if (! cls->reconstruct_parents ()) | 1234 if (! cls->reconstruct_parents ()) |