Nef_S2: Skip running assertion code when runtime assertions are disabled#7212
Conversation
|
@afabri I also request for your comment regarding: 9b357c6#r97801479 |
|
In case it only concerns |
That would be an appropriate alternative. I also did it this way for brevity, and to keep the code active when CGAL_NEF_TRACEN/CGAL_USE_TRACE is active. |
|
This PR is also the right moment to fix this warning concerning this line (as well as line 310) where we have to put |
1df07b2 to
d1ee393
Compare
Fixed in #7260 |
Summary of Changes
Since CGAL_assertion_code ignores the state of
CGAL::get_use_assertions()some assertion code in SM_const_decorator.h gets unnecessarily run. The only sensible thing to me seems to be to add some additional CGAL_assertion_code to skip everything when runtime assertions are disabled.Release Management