From f5c61b4f9a50e01071bccabbf69c5527ad3c2ab4 Mon Sep 17 00:00:00 2001 From: Igor Mats Date: Thu, 9 Apr 2015 13:36:17 +0300 Subject: [PATCH] Ooops. --- cocos/2d/CCMotionStreak.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCMotionStreak.h b/cocos/2d/CCMotionStreak.h index f7cfc30dc9..4c1ff56931 100644 --- a/cocos/2d/CCMotionStreak.h +++ b/cocos/2d/CCMotionStreak.h @@ -90,7 +90,7 @@ public: * * @return float stroke. */ - inline float getStroke() { return _stroke; } + inline float getStroke() const { return _stroke; } /** Set stroke. * * @param float stroke.