Mercurial > octave-nkf
changeset 10407:2516ca5763e9
fix deprecated ctor in lookup
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 09 Mar 2010 08:10:05 +0100 |
parents | 0c8d2278c57f |
children | a8869743d9fe |
files | src/ChangeLog src/DLD-FUNCTIONS/lookup.cc |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Mar 09 08:08:42 2010 +0100 +++ b/src/ChangeLog Tue Mar 09 08:10:05 2010 +0100 @@ -1,4 +1,7 @@ - +2010-03-09 Jaroslav Hajek <highegg@gmail.com> + + * DLD-FUNCTIONS/lookup.cc (Flookup): Fix deprecated array constructor. + 2010-03-09 Jaroslav Hajek <highegg@gmail.com> * ov-intx.h
--- a/src/DLD-FUNCTIONS/lookup.cc Tue Mar 09 08:08:42 2010 +0100 +++ b/src/DLD-FUNCTIONS/lookup.cc Tue Mar 09 08:10:05 2010 +0100 @@ -322,7 +322,7 @@ } Array<std::string> str_table = table.cellstr_value (); - Array<std::string> str_y (1); + Array<std::string> str_y (1, 1); if (y.is_cellstr ()) str_y = y.cellstr_value ();