changeset 31783:2891372cce9f

main-window.cc: Use consistent feval calling convention. * main-window.cc (profiler_session, profiler_session_resume, profiler_stop): Use "interp.feval (...)" rather than "Ffeval (interp, ...)".
author Rik <rik@octave.org>
date Thu, 26 Jan 2023 22:03:47 -0800
parents 5431cd68f48a
children 947b8c671680
files libgui/src/main-window.cc
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Thu Jan 26 21:50:32 2023 -0800
+++ b/libgui/src/main-window.cc	Thu Jan 26 22:03:47 2023 -0800
@@ -1949,8 +1949,7 @@
       ([=] (interpreter& interp)
         {
           // INTERPRETER THREAD
-
-          Ffeval (interp, ovl ("profile","on"));
+          interp.feval (ovl ("profile", "on"));
         });
   }
 
@@ -1960,8 +1959,7 @@
       ([=] (interpreter& interp)
         {
           // INTERPRETER THREAD
-
-          Ffeval (interp, ovl ("profile","resume"));
+          interp.feval (ovl ("profile", "resume"));
         });
   }
 
@@ -1971,8 +1969,7 @@
       ([=] (interpreter& interp)
         {
           // INTERPRETER THREAD
-
-          Ffeval (interp, ovl ("profile","off"));
+          interp.feval (ovl ("profile", "off"));
         });
   }