From 4ee89d6e70664e7a6de8a19e5571c2106360d834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 1 Feb 2021 12:42:59 +0100 Subject: [PATCH] Use more auto keyword Performed using modernize-use-auto from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html --- src/CodeInterpreter.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CodeInterpreter.hh b/src/CodeInterpreter.hh index 70a87ff0..4834f879 100644 --- a/src/CodeInterpreter.hh +++ b/src/CodeInterpreter.hh @@ -1930,7 +1930,7 @@ public: mexPrintf("FBEGINBLOCK\n"); # endif { - FBEGINBLOCK_ *fbegin_block = new FBEGINBLOCK_; + auto *fbegin_block = new FBEGINBLOCK_; code = fbegin_block->load(code); @@ -1958,7 +1958,7 @@ public: # ifdef DEBUGL mexPrintf("FCALL\n"); # endif - FCALL_ *fcall = new FCALL_; + auto *fcall = new FCALL_; code = fcall->load(code);