Comment Comment by MontagFTB Putting code with side effects into an assert is asking for trouble. Compile with NDEBUG set and the effects mysteriously disappear! Anything beyond an equality expression or straight boolean should be avoided. parent MontagFTB 7 months ago