Mercurial > hg > octave-lyh
diff src/unwind-prot.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | f4689107dd8c |
line wrap: on
line diff
--- a/src/unwind-prot.h +++ b/src/unwind-prot.h @@ -50,7 +50,7 @@ }; // An element that merely runs a void (*)(void) function. - + class fcn_elem : public elem { public: @@ -206,13 +206,13 @@ add (new restore_var_elem<T> (var, val)); } - operator bool (void) const - { - return head != 0; + operator bool (void) const + { + return head != 0; } - void run_top (void) - { + void run_top (void) + { if (head) { // No leak on exception! @@ -222,8 +222,8 @@ } } - void run_top (int num) - { + void run_top (int num) + { while (num-- > 0) run_top (); } @@ -238,8 +238,8 @@ } } - void discard_top (int num) - { + void discard_top (int num) + { while (num-- > 0) discard_top (); }