Mercurial > octave
diff libinterp/octave-value/ov-oncleanup.cc @ 26399:586413770c7f
pass save_as_floats by value in octave_value save_binary functions
* ov.h (octave_value::save_binary): Pass save_as_floats parameter by
value.
* ov-base.h, ov-base.cc (octave_base_value::save_binary): Likewise.
* ov-base-int.cc, ov-base-int.h, ov-bool-mat.cc, ov-bool-mat.h,
ov-bool-sparse.cc, ov-bool-sparse.h, ov-bool.cc, ov-bool.h,
ov-cell.cc, ov-cell.h, ov-class.cc, ov-class.h, ov-complex.cc,
ov-complex.h, ov-cx-diag.cc, ov-cx-diag.h, ov-cx-mat.cc, ov-cx-mat.h,
ov-cx-sparse.cc, ov-cx-sparse.h, ov-fcn-handle.cc, ov-fcn-handle.h,
ov-fcn-inline.cc, ov-fcn-inline.h, ov-float.cc, ov-float.h,
ov-flt-complex.cc, ov-flt-complex.h, ov-flt-cx-diag.cc,
ov-flt-cx-diag.h, ov-flt-cx-mat.cc, ov-flt-cx-mat.h,
ov-flt-re-diag.cc, ov-flt-re-diag.h, ov-flt-re-mat.cc,
ov-flt-re-mat.h, ov-java.cc, ov-java.h, ov-lazy-idx.cc, ov-lazy-idx.h,
ov-oncleanup.cc, ov-oncleanup.h, ov-perm.cc, ov-perm.h, ov-range.cc,
ov-range.h, ov-re-diag.cc, ov-re-diag.h, ov-re-mat.cc, ov-re-mat.h,
ov-re-sparse.cc, ov-re-sparse.h, ov-scalar.cc, ov-scalar.h,
ov-str-mat.cc, ov-str-mat.h, ov-struct.cc, ov-struct.h:
Pass save_as_floats parameter by value in all classes derived from
octave_base_value.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 03 Jan 2019 09:36:00 -0500 |
parents | 00f796120a6d |
children | cca0548f7b86 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-oncleanup.cc Thu Jan 03 10:16:26 2019 -0500 +++ b/libinterp/octave-value/ov-oncleanup.cc Thu Jan 03 09:36:00 2019 -0500 @@ -134,7 +134,7 @@ bool octave_oncleanup::save_binary (std::ostream& /* os */, - bool& /* save_as_floats */) + bool /* save_as_floats */) { warning ("save: unable to save onCleanup variables, skipping");