Texture2D::initWithString  and implementations in Device.cpp using "const char* ".It will cause type conversion more than once if using const std::string& for text argument here.