mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-14 17:35:39 +02:00
Fix: CATCH_NOEXCEPT redefined warning
We should check whether CATCH_NOEXCEPT was defined not CATCH_NO_EXCEPT.
This commit is contained in:
@@ -114,7 +114,7 @@
|
|||||||
# define CATCH_NOEXCEPT_IS(x) noexcept(x)
|
# define CATCH_NOEXCEPT_IS(x) noexcept(x)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef CATCH_NO_EXCEPT
|
#ifndef CATCH_NOEXCEPT
|
||||||
# define CATCH_NOEXCEPT throw()
|
# define CATCH_NOEXCEPT throw()
|
||||||
# define CATCH_NOEXCEPT_IS(x)
|
# define CATCH_NOEXCEPT_IS(x)
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user