Skip to content

[bugfix] Fix compile error with NDEBUG

Carsten Gräser requested to merge feature/fix-ndebug-compilation into master

It seems that the #if ... was originally introduced to avoid a compiler warning in case later assert() are removed due to NDEBUG. When changing to TestSuite in e7b592a2 this was not adjusted.

Surprisingly no one compiled our tests with NDEBUG since June 2017 otherwise this would have triggered a compile error!

Merge request reports