From 45cb2c8fb2418afaa3900c553e26ad3886cd5acf Mon Sep 17 00:00:00 2001 From: Kimball Thurston Date: Wed, 4 Apr 2018 01:35:11 +1200 Subject: [PATCH] remove the dynamic exception for all versions of c++ unless FORCE_CXX03 is on --- IlmBase/Iex/IexBaseExc.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/IlmBase/Iex/IexBaseExc.h b/IlmBase/Iex/IexBaseExc.h index 65f31e229a..bece58c5ee 100644 --- a/IlmBase/Iex/IexBaseExc.h +++ b/IlmBase/Iex/IexBaseExc.h @@ -62,11 +62,7 @@ #ifdef ILMBASE_FORCE_CXX03 # define IEX_THROW_SPEC(...) throw (__VA_ARGS__) #else -# if __cplusplus <= 201402L -# define IEX_THROW_SPEC(...) -# else -# define IEX_THROW_SPEC(...) throw (__VA_ARGS__) -# endif +# define IEX_THROW_SPEC(...) #endif IEX_INTERNAL_NAMESPACE_HEADER_ENTER