From 2f587cf5c35fbde0487fd0ded742f908f33e6113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Mon, 1 Feb 2021 12:28:50 +0100 Subject: [PATCH] Bytecode: use C++ headers Performed using modernize-deprecated-headers from clang-tidy. https://clang.llvm.org/extra/clang-tidy/checks/modernize-deprecated-headers.html --- mex/sources/bytecode/ErrorHandling.hh | 2 +- mex/sources/bytecode/Evaluate.cc | 2 +- mex/sources/bytecode/bytecode.cc | 6 +++--- mex/sources/bytecode/testing/mex_interface.hh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mex/sources/bytecode/ErrorHandling.hh b/mex/sources/bytecode/ErrorHandling.hh index 49e9b4a66..4ffb91ccd 100644 --- a/mex/sources/bytecode/ErrorHandling.hh +++ b/mex/sources/bytecode/ErrorHandling.hh @@ -29,7 +29,7 @@ #include "CodeInterpreter.hh" #define _USE_MATH_DEFINES -#include +#include #ifndef M_PI # define M_PI (3.14159265358979323846) #endif diff --git a/mex/sources/bytecode/Evaluate.cc b/mex/sources/bytecode/Evaluate.cc index c9c5e39a8..31639b7bd 100644 --- a/mex/sources/bytecode/Evaluate.cc +++ b/mex/sources/bytecode/Evaluate.cc @@ -19,7 +19,7 @@ #include #include -#include +#include #include "Evaluate.hh" #ifdef MATLAB_MEX_FILE diff --git a/mex/sources/bytecode/bytecode.cc b/mex/sources/bytecode/bytecode.cc index 31efcd311..f7f4221b9 100644 --- a/mex/sources/bytecode/bytecode.cc +++ b/mex/sources/bytecode/bytecode.cc @@ -1,5 +1,5 @@ /* - * Copyright © 2007-2020 Dynare Team + * Copyright © 2007-2021 Dynare Team * * This file is part of Dynare. * @@ -20,7 +20,7 @@ #include "Interpreter.hh" #include "ErrorHandling.hh" #include -#include +#include #ifdef DEBUG_EX @@ -55,7 +55,7 @@ Get_Argument(const mxArray *prhs) #endif //#include -#include +#include #ifdef CUDA int diff --git a/mex/sources/bytecode/testing/mex_interface.hh b/mex/sources/bytecode/testing/mex_interface.hh index b8b0dbfb0..23354e0c9 100644 --- a/mex/sources/bytecode/testing/mex_interface.hh +++ b/mex/sources/bytecode/testing/mex_interface.hh @@ -1,5 +1,5 @@ /* - * Copyright © 2007-2020 Dynare Team + * Copyright © 2007-2021 Dynare Team * * This file is part of Dynare. * @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include