-
- Downloads
Move expressions with side effects out of asserts
It is wrong to use expressions with side-effects in asserts, they can easily be compiled away. Move them out of assert() macro and just compare the result. Signed-off-by:Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> (cherry picked from commit 3d6edbc2)
Please register or sign in to comment