Mercurial > octave
comparison libgui/src/octave-qobject.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 | 6aba3944b608 |
children | 02ee34a30351 |
comparison
equal
deleted
inserted
replaced
28850:445e5ac1f58d | 28851:1ac5a76ae91d |
---|---|
132 return QApplication::notify (receiver, ev); | 132 return QApplication::notify (receiver, ev); |
133 } | 133 } |
134 catch (execution_exception& ee) | 134 catch (execution_exception& ee) |
135 { | 135 { |
136 emit interpreter_event | 136 emit interpreter_event |
137 ([ee] (void) | 137 ([=] (void) |
138 { | 138 { |
139 // INTERPRETER THREAD | 139 // INTERPRETER THREAD |
140 | 140 |
141 throw ee; | 141 throw ee; |
142 }); | 142 }); |