diff src/Cell.cc @ 10649:64472dd48517

cosmetic changes in Cell interface
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 24 May 2010 12:41:43 +0200
parents 4d1fc073fbb7
children e7864673c31f
line wrap: on
line diff
--- a/src/Cell.cc	Sun May 23 17:11:50 2010 -0700
+++ b/src/Cell.cc	Mon May 24 12:41:43 2010 +0200
@@ -196,7 +196,7 @@
   return retval;
 }
 
-Cell&
+void
 Cell::assign (const octave_value_list& idx_arg, const Cell& rhs,
               const octave_value& fill_val)
 
@@ -209,11 +209,9 @@
     ra_idx(i) = idx_arg(i).index_vector ();
 
   Array<octave_value>::assign (ra_idx, rhs, fill_val);
-
-  return *this;
 }
 
-Cell&
+void
 Cell::delete_elements (const octave_value_list& idx_arg)
 
 {
@@ -225,8 +223,6 @@
     ra_idx.xelem (i) = idx_arg(i).index_vector ();
 
   Array<octave_value>::delete_elements (ra_idx);
-
-  return *this;
 }
 
 octave_idx_type