diff src/pt-fcn-handle.cc @ 10960:409ceee18acc

binders optimization
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 10 Sep 2010 11:48:41 +0200
parents 57a59eae83cc
children c78247b664fc
line wrap: on
line diff
--- a/src/pt-fcn-handle.cc	Sat Sep 11 13:21:17 2010 +0200
+++ b/src/pt-fcn-handle.cc	Fri Sep 10 11:48:41 2010 +0200
@@ -126,7 +126,7 @@
 
   octave_value ov_fcn (uf);
 
-  octave_value fh (new octave_fcn_handle (ov_fcn, octave_fcn_handle::anonymous));
+  octave_value fh (octave_fcn_binder::maybe_binder (ov_fcn));
 
   return fh;
 }