diff libinterp/corefcn/gl-render.h @ 21195:53ac24e210e4

* gl-render.h (opengl_renderer:set_interpreter): Pass argument by const reference.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2016 16:02:44 -0500
parents 4a04de049ff9
children bd96c2efd4fe
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.h	Thu Feb 04 16:01:19 2016 -0500
+++ b/libinterp/corefcn/gl-render.h	Thu Feb 04 16:02:44 2016 -0500
@@ -108,7 +108,7 @@
                             double z1, double z2);
   virtual void set_clipping (bool on);
   virtual void set_font (const base_properties& props);
-  virtual void set_interpreter (const caseless_str interp)
+  virtual void set_interpreter (const caseless_str& interp)
   {
     interpreter = interp;
   }