Switch CHECK_WRONG_DATA macro so crashes/hangs are avoided
This commit is contained in:
parent
589fabd0b1
commit
5fd77d2518
|
@ -35,11 +35,8 @@
|
|||
* 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
|
||||
#define CHECK_WRONG_DATA(X) (X) // Release (don't crash/hang)
|
||||
//#define CHECK_WRONG_DATA(X) (1) // Debug (crash/hang)
|
||||
|
||||
namespace tinyxml2 {
|
||||
class XMLElement;
|
||||
|
|
Loading…
Reference in New Issue