ci static check fix
Signed-off-by: Harinath Nampally <harinath922@gmail.com>
This commit is contained in:
parent
e7c021f5cb
commit
32cbaee758
@ -26,7 +26,8 @@ template<typename T>
|
||||
#if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND) || defined(EXCEPTIONS)
|
||||
throw std::forward<T>(exception);
|
||||
#else
|
||||
(void)exception;
|
||||
// Forward the exception (even if unused) and abort
|
||||
std::forward<T>(exception);
|
||||
std::abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -2392,7 +2392,8 @@ template<typename T>
|
||||
#if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND) || defined(EXCEPTIONS)
|
||||
throw std::forward<T>(exception);
|
||||
#else
|
||||
(void)exception;
|
||||
// Forward the exception (even if unused) and abort
|
||||
std::forward<T>(exception);
|
||||
std::abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user