Fixed compile issue for travis-ci

pull/879/head
Gorilux 2016-05-07 15:36:05 +02:00
parent 753b63c526
commit 00b574d746
1 changed files with 6 additions and 7 deletions

View File

@ -490,14 +490,13 @@ public:
}
void ParseChildNode(XmlReader* xmlReader)
{
{
OpcPackageRelationshipPtr relPtr(new OpcPackageRelationship());
relPtr->id = xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_ID.c_str());
relPtr->type = xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_TYPE.c_str());
relPtr->target = xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_TARGET.c_str());
OpcPackageRelationshipPtr relPtr(new OpcPackageRelationship
{
xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_ID.c_str()),
xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_TYPE.c_str()),
xmlReader->getAttributeValue(XmlTag::RELS_ATTRIB_TARGET.c_str())
});
m_relationShips.push_back(relPtr);
}
std::vector<OpcPackageRelationshipPtr> m_relationShips;