Mercurial > octave
changeset 27146:c776d553c19e
* cdef-class.cc: Repair debug code.
* libinterp/octave-value/cdef-class.cc (cdef_class::make_meta_class): Include
missing header <iostream>, if DEBUG_TRACE is 1. Rename a probably refactored
symbol `*pit` to `prop_p`.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 04 Jun 2019 22:33:49 +0200 |
parents | f8e4e04722ee |
children | f0da934bca61 |
files | libinterp/octave-value/cdef-class.cc |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/cdef-class.cc Tue Jun 04 22:22:26 2019 +0200 +++ b/libinterp/octave-value/cdef-class.cc Tue Jun 04 22:33:49 2019 +0200 @@ -52,6 +52,9 @@ // Define to 1 to enable debugging statements. #define DEBUG_TRACE 0 +#if DEBUG_TRACE +# include <iostream> +#endif namespace octave { @@ -1092,7 +1095,7 @@ #if DEBUG_TRACE std::cerr << "property default: " - << attribute_value_to_string (*pit, pvalue) + << attribute_value_to_string (prop_p, pvalue) << std::endl; #endif