diff --git a/cocos2dx/textures/CCTextureCache.cpp b/cocos2dx/textures/CCTextureCache.cpp index 5ce7a5ede6..fc40c3a685 100644 --- a/cocos2dx/textures/CCTextureCache.cpp +++ b/cocos2dx/textures/CCTextureCache.cpp @@ -245,7 +245,7 @@ CCTexture2D * CCTextureCache::addPVRTCImage(const char* fileimage) NSAssert(fileimage != NULL, "TextureCache: fileimage MUST not be nill"); CCTexture2D * tex; - std:string key(fileimage); + std::string key(fileimage); if( (tex = m_pTextures->objectForKey(key)) ) { return tex;