changeset 1943:24f35e425e6a

[project @ 1996-02-13 20:55:20 by jwe]
author jwe
date Tue, 13 Feb 1996 20:55:20 +0000
parents bb9df7be8227
children 8cb4d3008c76
files liboctave/NPSOL.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/NPSOL.cc
+++ b/liboctave/NPSOL.cc
@@ -403,7 +403,7 @@
 }
 
 void
-NPSOL_options::set_option (const char *key, int opt)
+NPSOL_options::set_option (const string& key, int opt)
 {
   ostrstream buf;
   buf << key << " " << opt << ends;
@@ -414,7 +414,7 @@
 }
 
 void
-NPSOL_options::set_option (const char *key, double opt)
+NPSOL_options::set_option (const string& key, double opt)
 {
   ostrstream buf;
   buf << key << " " << opt << ends;