diff src/ov-struct.cc @ 4247:fc9a075d10fb

[project @ 2002-12-30 23:05:27 by jwe]
author jwe
date Mon, 30 Dec 2002 23:05:27 +0000
parents 23d06c9e1edd
children 83d4452bc522
line wrap: on
line diff
--- a/src/ov-struct.cc	Mon Dec 30 17:57:36 2002 +0000
+++ b/src/ov-struct.cc	Mon Dec 30 23:05:27 2002 +0000
@@ -86,7 +86,7 @@
 }
 
 octave_value
-octave_struct::subsref (const std::string type,
+octave_struct::subsref (const std::string& type,
 			const std::list<octave_value_list>& idx)
 {
   octave_value retval;
@@ -181,7 +181,7 @@
 }
 
 octave_value
-octave_struct::subsasgn (const std::string type,
+octave_struct::subsasgn (const std::string& type,
 			 const std::list<octave_value_list>& idx,
 			 const octave_value& rhs)
 {