From def096c526f0922a52cdd95e665ac9cbb4f5f589 Mon Sep 17 00:00:00 2001 From: Sebastian Eibl <sebastian.eibl@fau.de> Date: Fri, 17 Mar 2017 16:52:06 +0100 Subject: [PATCH] added WALBERLA_OVERRIDE to wrap c++11 override --- src/core/Macros.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/Macros.h b/src/core/Macros.h index 208c56f67..743ad91c3 100644 --- a/src/core/Macros.h +++ b/src/core/Macros.h @@ -39,6 +39,12 @@ #define WALBERLA_PRAGMA(x) _Pragma(#x) #endif +#ifndef WALBERLA_CXX_COMPILER_IS_IBM +#define WALBERLA_OVERRIDE +#else +#define WALBERLA_OVERRIDE override +#endif + // macro overloading (-> https://stackoverflow.com/a/24028231) #define WALBERLA_GLUE(x, y) x y -- GitLab