From a2186b06b866354fd514bd4800d0a81df9169d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 1 Feb 2021 12:47:29 +0100 Subject: [PATCH] Bytecode: port to C++11 syntax for default constructors Performed using modernize-use-equals-default from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html --- mex/sources/bytecode/Interpreter.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mex/sources/bytecode/Interpreter.cc b/mex/sources/bytecode/Interpreter.cc index 1335ef7a5..c5dd79fb9 100644 --- a/mex/sources/bytecode/Interpreter.cc +++ b/mex/sources/bytecode/Interpreter.cc @@ -25,9 +25,7 @@ #define SMALL 1.0e-5; ///#define DEBUG -Interpreter::~Interpreter() -{ -} +Interpreter::~Interpreter() = default; Interpreter::Interpreter(double *params_arg, double *y_arg, double *ya_arg, double *x_arg, double *steady_y_arg, double *steady_x_arg, double *direction_arg, size_t y_size_arg,