changeset 23616:ead0d48e1ffd

avoid deprecated function warning * pt-eval.cc (tree_evaluator::visit_unwind_protect_command): Use octave::interpreter::recover_from_exception to avoid warning.
author John W. Eaton <jwe@octave.org>
date Fri, 16 Jun 2017 10:01:37 -0400
parents be7b884ac589
children 5e0acf41a9e1
files libinterp/parse-tree/pt-eval.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.cc	Fri Jun 16 09:19:20 2017 -0400
+++ b/libinterp/parse-tree/pt-eval.cc	Fri Jun 16 10:01:37 2017 -0400
@@ -2406,7 +2406,7 @@
         catch (const octave::interrupt_exception&)
           {
             // The comments above apply here as well.
-            recover_from_exception ();
+            octave::interpreter::recover_from_exception ();
             do_unwind_protect_cleanup_code (cleanup_code);
             throw;
           }