catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix -Wunused-parameter warning with exceptions disabled
- Commit
15d52830ee1c010c8e7c21faeeb1c4ad8e772435- Author
- Martin Hořeňovský ·
- Parents
9ec44dd62b1b
Changes
src/catch2/catch_translate_exception.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/catch2/catch_translate_exception.hpp b/src/catch2/catch_translate_exception.hpp index a1f3faa5..8df15d21 100644 --- a/src/catch2/catch_translate_exception.hpp +++ b/src/catch2/catch_translate_exception.hpp @@ -41,6 +41,8 @@ namespace Catch { return m_translateFunction( ex ); } #else + (void)it; + (void)itEnd; return "You should never get here!"; #endif }