Right now the code makes use of the C assert macro which is fine but requires its own defines. If in the future we'd like to use a different kind of assert, changing it all over the code would be tedious. Therefore, let's define the macro QI_ASSERT in Defines.h like this:
#DEFINE QI_ASSERT(x) assert(x); // In DEBUG mode
#DEFINE QI_ASSERT(x) // In RELEASE mode
Right now the code makes use of the C assert macro which is fine but requires its own defines. If in the future we'd like to use a different kind of assert, changing it all over the code would be tedious. Therefore, let's define the macro QI_ASSERT in Defines.h like this: