mirror of https://github.com/catchorg/Catch2.git
Fix: CATCH_NOEXCEPT redefined warning
We should check whether CATCH_NOEXCEPT was defined not CATCH_NO_EXCEPT.
This commit is contained in:
parent
878c257de7
commit
0c787f94d0
|
@ -114,7 +114,7 @@
|
|||
# define CATCH_NOEXCEPT_IS(x) noexcept(x)
|
||||
# endif
|
||||
#endif
|
||||
#ifndef CATCH_NO_EXCEPT
|
||||
#ifndef CATCH_NOEXCEPT
|
||||
# define CATCH_NOEXCEPT throw()
|
||||
# define CATCH_NOEXCEPT_IS(x)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue