diff src/variables.cc @ 4261:bdaa0d3dfc0b

[project @ 2003-01-02 22:55:23 by jwe]
author jwe
date Thu, 02 Jan 2003 22:55:23 +0000
parents 610671be8792
children 3dc0815a2954
line wrap: on
line diff
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -586,7 +586,7 @@
 	  && (type == "any" || type == "file")
 	  && (sr->is_user_function () || sr->is_dld_function ()))
 	{
-	  octave_value& t = sr->def ();
+	  octave_value t = sr->def ();
 	  octave_function *f = t.function_value (true);
 	  std::string s = f ? f->fcn_file_name () : std::string ();