Mercurial > octave-nkf
diff liboctave/util/unwind-prot.h @ 20577:c547458dc10e
eliminate error_state from most header files
* defun-int.h, event-queue.h, graphics.in.h, oct-handle.h,
ov-classdef.h, misc/f77-fcn.h, unwind-prot.h:
Eliminate use of global error_state variable.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 03 Oct 2015 13:20:28 -0400 |
parents | 4197fc428c7d |
children |
line wrap: on
line diff
--- a/liboctave/util/unwind-prot.h Fri Oct 02 16:07:41 2015 -0400 +++ b/liboctave/util/unwind-prot.h Sat Oct 03 13:20:28 2015 -0400 @@ -40,8 +40,8 @@ unwind_protect (void) : lifo () { } // Destructor should not raise an exception, so all actions - // registered should be exception-safe (but setting error_state is - // allowed). If you're not sure, see unwind_protect_safe. + // registered should be exception-safe. If you're not sure, see + // unwind_protect_safe. ~unwind_protect (void) { run (); }