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 diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
+++ b/src/DLD-FUNCTIONS/lookup.cc
@@ -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 ();