changeset 29135:1dbeca38c776 stable

Allow Octave class execution_exception to catch std::exception objects (bug #59592). * quit.h (class octave::execution_exception): Use keyword "public" when inheriting from std::runtime_error.
author Rik <rik@octave.org>
date Wed, 02 Dec 2020 14:06:13 -0800
parents b8d9dff6218c
children 9560c8c374dc a43cf0300dcd
files liboctave/util/quit.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/quit.h	Tue Jun 02 20:02:39 2020 +0200
+++ b/liboctave/util/quit.h	Wed Dec 02 14:06:13 2020 -0800
@@ -89,7 +89,7 @@
             && a.column () == b.column ());
   }
 
-  class execution_exception : std::runtime_error
+  class execution_exception : public std::runtime_error
   {
   public: