mirror of https://github.com/axmolengine/axmol.git
remove const modifier of move semantic
This commit is contained in:
parent
80adda2ce8
commit
75d5bcfb42
|
@ -271,7 +271,7 @@ public:
|
|||
object->retain();
|
||||
}
|
||||
|
||||
void pushBack(const T&& object)
|
||||
void pushBack(T&& object)
|
||||
{
|
||||
CCASSERT(object != nullptr, "The object should not be nullptr");
|
||||
_data.push_back( object );
|
||||
|
|
Loading…
Reference in New Issue