Mercurial > octave
diff libinterp/corefcn/error.h @ 29501:220c6c4a3533
leave error message output stream decision to error_system class
* error.h, error.cc (error_system::display_exception):
Eliminate second argument for output stream. Change all uses.
Deprecate two-argument version.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 25 Mar 2021 16:25:31 -0400 |
parents | 7854d5752dd2 |
children | 4c88a452519c |
line wrap: on
line diff
--- a/libinterp/corefcn/error.h Wed Apr 07 08:04:04 2021 +0200 +++ b/libinterp/corefcn/error.h Thu Mar 25 16:25:31 2021 -0400 @@ -334,8 +334,11 @@ OCTINTERP_API void save_exception (const execution_exception& ee); - OCTINTERP_API void - display_exception (const execution_exception& ee, std::ostream& os) const; + OCTAVE_DEPRECATED (7, "second argument is no longer accepted") + OCTINTERP_API void display_exception (const execution_exception& ee, + std::ostream& os) const; + + OCTINTERP_API void display_exception (const execution_exception& ee) const; private: