From 5ea5c394e75477c750ce48ab9dc822f8b9c87671 Mon Sep 17 00:00:00 2001 From: Dhilan007 Date: Thu, 10 Oct 2013 17:17:10 +0800 Subject: [PATCH] fix compile fail on vs2012. --- .../Classes/PerformanceTest/PerformanceSpriteTest.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.h b/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.h index b9d72a399e..58c035eaef 100644 --- a/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.h +++ b/samples/Cpp/TestCpp/Classes/PerformanceTest/PerformanceSpriteTest.h @@ -70,11 +70,11 @@ protected: int subtestNumber; std::vector _vecFPS; int _executeTimes; - const int MAX_AUTO_TEST_TIMES = 25; - const int MAX_SPRITE_TEST_CASE = 7; - const int MAX_SUB_TEST_NUMS = 9; - const int AUTO_TEST_NODE_NUM1 = 500; - const int AUTO_TEST_NODE_NUM2 = 1500; + static const int MAX_AUTO_TEST_TIMES = 25; + static const int MAX_SPRITE_TEST_CASE = 7; + static const int MAX_SUB_TEST_NUMS = 9; + static const int AUTO_TEST_NODE_NUM1 = 500; + static const int AUTO_TEST_NODE_NUM2 = 1500; }; class SpritePerformTest1 : public SpriteMainScene