@sheshmoshen wrote:
Hi, I want to use cocos2d-x custom allocators for Node* objects and I have a class like this:
class CellSprite : public cocos2d::Sprite { public: cocos2d::allocator::AllocatorStrategyPool<CellSprite> alloc; CC_USE_ALLOCATOR_POOL(CellSprite, alloc); };
But I'm getting an error "No member named 'allocater' in namespace 'cocos2d'"
Anyone know how to fix this?
Posts: 1
Participants: 1