remove const modifier of move semantic

This commit is contained in:
andyque 2014-01-02 18:05:22 +08:00
parent 80adda2ce8
commit 75d5bcfb42
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ public:
object->retain(); object->retain();
} }
void pushBack(const T&& object) void pushBack(T&& object)
{ {
CCASSERT(object != nullptr, "The object should not be nullptr"); CCASSERT(object != nullptr, "The object should not be nullptr");
_data.push_back( object ); _data.push_back( object );