changeset 31465:c09bd3c7905b

remove function deprecated in Octave 7 * error.h, error.cc (error_system::display_exception): Delete 2-argument version of this function that was deprecated in version 7.
author John W. Eaton <jwe@octave.org>
date Thu, 17 Nov 2022 12:08:35 -0500
parents 344e1152ed88
children 98aa66e8f729
files libinterp/corefcn/error.cc libinterp/corefcn/error.h
diffstat 2 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc	Thu Nov 17 11:50:20 2022 -0500
+++ b/libinterp/corefcn/error.cc	Thu Nov 17 12:08:35 2022 -0500
@@ -901,17 +901,6 @@
     last_error_stack (make_stack_map (ee.stack_info ()));
   }
 
-  // DEPRECATED in Octave 7.
-  void error_system::display_exception (const execution_exception& ee,
-                                        std::ostream& os) const
-  {
-    if (m_beep_on_error)
-      os << "\a";
-
-    ee.display (octave_diary);
-    ee.display (os);
-  }
-
   void error_system::display_exception (const execution_exception& ee) const
   {
     // FIXME: How should we handle beep_on_error?
--- a/libinterp/corefcn/error.h	Thu Nov 17 11:50:20 2022 -0500
+++ b/libinterp/corefcn/error.h	Thu Nov 17 12:08:35 2022 -0500
@@ -334,13 +334,6 @@
 
     OCTINTERP_API void save_exception (const execution_exception& ee);
 
-    // FIXME
-    //#if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
-    OCTAVE_DEPRECATED (7, "second argument is no longer accepted")
-    OCTINTERP_API void display_exception (const execution_exception& ee,
-                                          std::ostream& os) const;
-    //#endif
-
     OCTINTERP_API void display_exception (const execution_exception& ee) const;
 
   private: