diff libinterp/octave-value/ov.cc @ 18402:4c064d3d2750

Remove Octave_map class deprecated in 3.8. * oct-map.cc: Remove all functions referencing Octave_map. * oct-map.h: Remove all functions referencing Octave_map. * ov.cc: Add new 3-term constructors for octave_value which begin with octave_map or octave_scalar_map to replace the 3-term constructor based on Octave_map. * ov.h: Add new 3-term constructors for octave_value which begin with octave_map or octave_scalar_map to replace the 3-term constructor based on Octave_map.
author Rik <rik@octave.org>
date Mon, 27 Jan 2014 09:50:53 -0800
parents 122239398a03
children f958e8cd6348
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc	Sat Jan 25 20:27:10 2014 -0800
+++ b/libinterp/octave-value/ov.cc	Mon Jan 27 09:50:53 2014 -0800
@@ -1194,13 +1194,14 @@
 {
 }
 
-octave_value::octave_value (const Octave_map& m)
-  : rep (new octave_struct (m))
+octave_value::octave_value (const octave_map& m, const std::string& id,
+                            const std::list<std::string>& plist)
+  : rep (new octave_class (m, id, plist))
 {
   maybe_mutate ();
 }
 
-octave_value::octave_value (const Octave_map& m, const std::string& id,
+octave_value::octave_value (const octave_scalar_map& m, const std::string& id,
                             const std::list<std::string>& plist)
   : rep (new octave_class (m, id, plist))
 {