Mercurial > hg > octave-lojdl
diff src/ls-mat4.cc @ 10066:2cd940306a06
make unwind_protect frames local
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 13:18:41 +0100 (2010-01-06) |
parents | 610bf90fce2a |
children | cd96d29c5efa |
line wrap: on
line diff
--- a/src/ls-mat4.cc +++ b/src/ls-mat4.cc @@ -492,7 +492,7 @@ if (tc.is_string ()) { - unwind_protect::frame_id_t uwp_frame = unwind_protect::begin_frame (); + unwind_protect frame; charMatrix chm = tc.char_matrix_value (); @@ -510,8 +510,6 @@ buf[j*nrow+i] = static_cast<double> (*s++ & 0x00FF); } os.write (reinterpret_cast<char *> (buf), nrow*ncol*sizeof(double)); - - unwind_protect::run_frame (uwp_frame); } else if (tc.is_range ()) {