diff --git a/cocos/base/CCRef.cpp b/cocos/base/CCRef.cpp index 91e30935e9..696584dac2 100644 --- a/cocos/base/CCRef.cpp +++ b/cocos/base/CCRef.cpp @@ -81,13 +81,13 @@ Ref::~Ref() void Ref::retain() { - CCASSERT(_referenceCount > 0, "reference count should greater than 0"); + CCASSERT(_referenceCount > 0, "reference count should be greater than 0"); ++_referenceCount; } void Ref::release() { - CCASSERT(_referenceCount > 0, "reference count should greater than 0"); + CCASSERT(_referenceCount > 0, "reference count should be greater than 0"); --_referenceCount; if (_referenceCount == 0)