From 744b7f54c916d7650f9ebb3b47c447a6a8be0ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=B6sel?= Date: Sat, 26 Sep 2015 16:58:26 +0200 Subject: [PATCH] Fix wrong debug check --- tests/cpp-tests/Classes/UnitTest/RefPtrTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cpp-tests/Classes/UnitTest/RefPtrTest.cpp b/tests/cpp-tests/Classes/UnitTest/RefPtrTest.cpp index f7f2053362..98842355f2 100644 --- a/tests/cpp-tests/Classes/UnitTest/RefPtrTest.cpp +++ b/tests/cpp-tests/Classes/UnitTest/RefPtrTest.cpp @@ -6,7 +6,7 @@ void RefPtrTest::onEnter() { UnitTestDemo::onEnter(); -#if DEBUG +#if (defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0) // TEST(constructors) { // Default constructor