JamesGaier / SDL-Mario

A SDL2 implementation of Super Mario Bros.
1 stars 0 forks source link

`dynamic_assert` is basically done by `assert` from `cassert` #1

Closed Nicholas-Baron closed 3 years ago

Nicholas-Baron commented 3 years ago

https://github.com/JamesGaier/SDL-Mario/blob/71917731748b2f51d1cdd1c3b2548512b0127349/include/Util.hpp#L7-L18

If the msg parameter is not needed, the standard provides something similar: https://en.cppreference.com/w/cpp/error/assert

JamesGaier commented 3 years ago

done