CHECK_WRONG_DATA: restore debug macro so crashes are seen.

This commit is contained in:
Daniel Marjamäki 2017-04-02 17:23:30 +02:00
parent c65725cb1b
commit 6f2db1a312
1 changed files with 4 additions and 0 deletions

View File

@ -35,7 +35,11 @@
* Using this macro we can make sure that released binaries don't crash/hang but the problem is not hidden
* in debug builds.
*/
#ifdef NDEBUG
#define CHECK_WRONG_DATA(X) (X)
#else
#define CHECK_WRONG_DATA(X) (1)
#endif
namespace tinyxml2 {
class XMLElement;