Mercurial > octave
changeset 23776:a0b7a29338d5
Remove assert() accidentally left in cset 7b43a96c2179.
* oct-locbuf.h: Remove assert(0) from definition of OCTAVE_LOCAL_BUFFER
for C++14.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 20 Jul 2017 15:29:38 -0700 |
parents | 7b43a96c2179 |
children | cda0614beaec |
files | liboctave/util/oct-locbuf.h |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/util/oct-locbuf.h Thu Jul 20 09:17:03 2017 -0700 +++ b/liboctave/util/oct-locbuf.h Thu Jul 20 15:29:38 2017 -0700 @@ -34,8 +34,7 @@ #define OCTAVE_LOCAL_BUFFER(T, buf, size) \ auto octave_local_buffer_ ## buf = std::make_unique<T []> (size); \ - T *buf = octave_local_buffer_ ## buf.get (); \ - assert (0); + T *buf = octave_local_buffer_ ## buf.get () #else