diff libgui/src/m-editor/octave-qscintilla.cc @ 28851:1ac5a76ae91d

use [=] capture default specification where possible Files affected: Canvas.cc, GLCanvas.cc, file-editor-tab.cc, file-editor.cc, octave-qscintilla.cc, main-window.cc, octave-qobject.cc, set-path-model.cc, variable-editor-model.cc, workspace-view.cc, call-stack.cc, graphics.cc, input.cc, interpreter.cc, load-path.cc, pr-output.cc, strfns.cc, sysdep.cc, audiodevinfo.cc, audioread.cc, convhulln.cc, oct-parse.yy, pt-eval.cc, lo-sysdep.cc, oct-glob.cc, oct-string.cc, and url-transfer.cc.
author John W. Eaton <jwe@octave.org>
date Fri, 02 Oct 2020 13:25:00 -0400
parents 751afb1ee1d0
children 43ad651cf5a0
line wrap: on
line diff
--- a/libgui/src/m-editor/octave-qscintilla.cc	Fri Oct 02 12:58:12 2020 -0400
+++ b/libgui/src/m-editor/octave-qscintilla.cc	Fri Oct 02 13:25:00 2020 -0400
@@ -873,7 +873,7 @@
 
     // Add commands to the history
     emit interpreter_event
-      ([tmp_hist] (interpreter& interp)
+      ([=] (interpreter& interp)
         {
           // INTERPRETER THREAD
 
@@ -892,7 +892,7 @@
 
     // Let the interpreter execute the tmp file
     emit interpreter_event
-      ([this, tmp_file, tmp_hist, show_dbg_file] (interpreter& interp)
+      ([=] (interpreter& interp)
        {
          // INTERPRETER THREAD