changeset 1746:08e778219ef0

[project @ 1996-01-13 08:35:32 by jwe]
author jwe
date Sat, 13 Jan 1996 08:36:49 +0000
parents fa3e6cf13745
children 59a3a2a83cb5
files src/oct-obj.cc src/oct-obj.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/oct-obj.cc	Sat Jan 13 07:33:24 1996 +0000
+++ b/src/oct-obj.cc	Sat Jan 13 08:36:49 1996 +0000
@@ -66,6 +66,9 @@
 Octave_object::Octave_object (const char *s)
   : Array<tree_constant> (1, tree_constant (s)) { }
 
+Octave_object::Octave_object (const string& s)
+  : Array<tree_constant> (1, tree_constant (s)) { }
+
 Octave_object::Octave_object (double base, double limit, double inc)
   : Array<tree_constant> (1, tree_constant (base, limit, inc)) { }
 
--- a/src/oct-obj.h	Sat Jan 13 07:33:24 1996 +0000
+++ b/src/oct-obj.h	Sat Jan 13 08:36:49 1996 +0000
@@ -59,6 +59,7 @@
   Octave_object (const ComplexColumnVector& v, int pcv = -1);
 
   Octave_object (const char *s);
+  Octave_object (const string& s);
 
   Octave_object (double base, double limit, double inc);
   Octave_object (const Range& r);