diff --git a/include/etl/private/delegate_cpp11.h b/include/etl/private/delegate_cpp11.h index 7c9382d2..79182656 100644 --- a/include/etl/private/delegate_cpp11.h +++ b/include/etl/private/delegate_cpp11.h @@ -583,7 +583,7 @@ namespace etl /// Stub call for a member function. Run time instance. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn method_stub(void* object, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn method_stub(void* object, TParams... params) { T* p = static_cast(object); return (p->*Method)(etl::forward(params)...); @@ -593,7 +593,7 @@ namespace etl /// Stub call for a const member function. Run time instance. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn const_method_stub(void* object, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn const_method_stub(void* object, TParams... params) { T* const p = static_cast(object); return (p->*Method)(etl::forward(params)...); @@ -603,7 +603,7 @@ namespace etl /// Stub call for a member function. Compile time instance. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn method_instance_stub(void*, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn method_instance_stub(void*, TParams... params) { return (Instance.*Method)(etl::forward(params)...); } @@ -612,7 +612,7 @@ namespace etl /// Stub call for a const member function. Compile time instance. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn const_method_instance_stub(void*, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn const_method_instance_stub(void*, TParams... params) { return (Instance.*Method)(etl::forward(params)...); } @@ -622,7 +622,7 @@ namespace etl /// Stub call for a function operator. Compile time instance. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn operator_instance_stub(void*, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn operator_instance_stub(void*, TParams... params) { return Instance.operator()(etl::forward(params)...); } @@ -632,7 +632,7 @@ namespace etl /// Stub call for a free function. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn function_stub(void*, TParams... params) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn function_stub(void*, TParams... params) { return (Method)(etl::forward(params)...); } @@ -641,7 +641,7 @@ namespace etl /// Stub call for a lambda or functor function. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn lambda_stub(void* object, TParams... arg) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn lambda_stub(void* object, TParams... arg) { TLambda* p = static_cast(object); return (p->operator())(etl::forward(arg)...); @@ -651,7 +651,7 @@ namespace etl /// Stub call for a const lambda or functor function. //************************************************************************* template - static ETL_CONSTEXPR14 TReturn const_lambda_stub(void* object, TParams... arg) ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS) + static ETL_CONSTEXPR14 TReturn const_lambda_stub(void* object, TParams... arg) { const TLambda* p = static_cast(object); return (p->operator())(etl::forward(arg)...);