To set csd version for serializing.

This commit is contained in:
pipu 2015-03-12 16:15:17 +08:00
parent c72c8e865d
commit 7515fc78f5
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ std::string FlatBuffersSerialize::serializeFlatBuffersWithXMLFile(const std::str
attribute = attribute->Next();
if (attribute)
_csdVersion = attribute->Value();
_csdVersion = "2.1.0.0";
}
if (strcmp("Content", element->Name()) == 0)