CHECK_WRONG_DATA: restore debug macro so crashes are seen.
This commit is contained in:
parent
c65725cb1b
commit
6f2db1a312
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue