diff libgui/graphics/Table.cc @ 26127:37e3aa267374

Move function str2double inside octave::string namespace (patch #9084). * liboctave/util/oct-string.[cc/h]: Move function str2double inside octave::string namespace. * libgui/graphics/Table.cc, libinterp/corefcn/strfns.cc: Replace occurrences of "octave_str2double".
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 22 Nov 2018 22:17:28 +0100
parents 4d1c6c60f6b3
children 242aa7b2c783
line wrap: on
line diff
--- a/libgui/graphics/Table.cc	Thu Nov 22 13:11:40 2018 -0800
+++ b/libgui/graphics/Table.cc	Thu Nov 22 22:17:28 2018 +0100
@@ -378,7 +378,7 @@
     else if (old_value.isnumeric () && ! old_value.isinteger ())
       {
         // Basically need to do str2double
-        Complex complex = octave_str2double (ov.string_value ());
+        Complex complex = octave::string::str2double (ov.string_value ());
         if (old_value.is_single_type ())
           retval = octave_value (FloatComplex (complex));
         else
@@ -394,7 +394,7 @@
           retval = octave_value (false);
       }
     else
-      retval = octave_value (octave_str2double (ov.string_value ()));
+      retval = octave_value (octave::string::str2double (ov.string_value ()));
     return retval;
   }