mirror of https://github.com/axmolengine/axmol.git
Fix deprecated warnings
This commit is contained in:
parent
a0c7e10a82
commit
9ec1e2069a
|
@ -250,7 +250,7 @@ const cocos2d::Map<std::string, TextureData*>& ArmatureDataManager::getTextureDa
|
||||||
return _textureDatas;
|
return _textureDatas;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCArmatureDataManager::addRelativeData(const std::string& configFilePath)
|
void ArmatureDataManager::addRelativeData(const std::string& configFilePath)
|
||||||
{
|
{
|
||||||
if (_relativeDatas.find(configFilePath) == _relativeDatas.end())
|
if (_relativeDatas.find(configFilePath) == _relativeDatas.end())
|
||||||
{
|
{
|
||||||
|
@ -258,7 +258,7 @@ void CCArmatureDataManager::addRelativeData(const std::string& configFilePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RelativeData *CCArmatureDataManager::getRelativeData(const std::string& configFilePath)
|
RelativeData *ArmatureDataManager::getRelativeData(const std::string& configFilePath)
|
||||||
{
|
{
|
||||||
return &_relativeDatas[configFilePath];
|
return &_relativeDatas[configFilePath];
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ void ArmatureNodeReader::setPropsWithFlatBuffers(cocos2d::Node *node,
|
||||||
|
|
||||||
cocos2d::Node* ArmatureNodeReader::createNodeWithFlatBuffers(const flatbuffers::Table *nodeOptions)
|
cocos2d::Node* ArmatureNodeReader::createNodeWithFlatBuffers(const flatbuffers::Table *nodeOptions)
|
||||||
{
|
{
|
||||||
auto node = CCArmature::create();
|
auto node = Armature::create();
|
||||||
|
|
||||||
// self
|
// self
|
||||||
auto options = (flatbuffers::CSArmatureNodeOption*)nodeOptions;
|
auto options = (flatbuffers::CSArmatureNodeOption*)nodeOptions;
|
||||||
|
|
Loading…
Reference in New Issue