Invoke FileUtils::getInstance()->getStringFromFile() instead of FileUtils::getInstance()->getFileData().

This commit is contained in:
pipu 2015-01-19 17:16:26 +08:00
parent 77c6d2fa4f
commit ea84ae78dc
1 changed files with 0 additions and 2 deletions

View File

@ -151,7 +151,6 @@ std::string FlatBuffersSerialize::serializeFlatBuffersWithXMLFile(const std::str
}
std::string content = FileUtils::getInstance()->getStringFromFile(inFullpath);
FileUtils::getInstance()->purgeCachedEntries();
// xml parse
tinyxml2::XMLDocument* document = new tinyxml2::XMLDocument();
@ -1125,7 +1124,6 @@ FlatBufferBuilder* FlatBuffersSerialize::createFlatBuffersWithXMLFileForSimulato
}
std::string content = FileUtils::getInstance()->getStringFromFile(inFullpath);
FileUtils::getInstance()->purgeCachedEntries();
// xml parse
tinyxml2::XMLDocument* document = new tinyxml2::XMLDocument();