changeset 5146:275a95541831

[project @ 2005-02-16 19:18:32 by jwe]
author jwe
date Wed, 16 Feb 2005 19:18:32 +0000
parents dd07ee8af4b3
children 47e4c91e5799
files src/ChangeLog src/ov.cc src/ov.h
diffstat 3 files changed, 6 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Feb 15 12:48:24 2005 +0000
+++ b/src/ChangeLog	Wed Feb 16 19:18:32 2005 +0000
@@ -1,3 +1,9 @@
+2005-02-16  John W. Eaton  <jwe@octave.org>
+
+	* ov.h, ov.cc
+	(octave_value::octave_value (const ArrayN<octave_value>&, bool)):
+	Delete.
+
 2005-02-15  John W. Eaton  <jwe@octave.org>
 
 	* dirfns.cc (deftypefn): Don't print to octave_stdout if nargout > 0.
--- a/src/ov.cc	Tue Feb 15 12:48:24 2005 +0000
+++ b/src/ov.cc	Wed Feb 16 19:18:32 2005 +0000
@@ -423,19 +423,6 @@
   rep->count = 1;
 }
 
-octave_value::octave_value (const ArrayN<octave_value>& a, bool is_csl)
-  : rep (0)
-{
-  Cell c (a);
-
-  if (is_csl)
-    rep = new octave_cs_list (c);
-  else
-    rep = new octave_cell (c);
-
-  rep->count = 1;
-}
-
 octave_value::octave_value (const Matrix& m)
   : rep (new octave_matrix (m))
 {
--- a/src/ov.h	Tue Feb 15 12:48:24 2005 +0000
+++ b/src/ov.h	Wed Feb 16 19:18:32 2005 +0000
@@ -189,7 +189,6 @@
 
   octave_value (octave_time t);
   octave_value (double d);
-  octave_value (const ArrayN<octave_value>& a, bool is_cs_list = false);
   octave_value (const Cell& c, bool is_cs_list = false);
   octave_value (const Matrix& m);
   octave_value (const NDArray& nda);