# HG changeset patch # User Rik # Date 1606946773 28800 # Node ID 1dbeca38c77617b7c46fa3e5cb13189ec0017b80 # Parent b8d9dff6218c26ed39ebcae20f0fb62c4d5c4c6f 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. diff -r b8d9dff6218c -r 1dbeca38c776 liboctave/util/quit.h --- 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: