Reputation: 1
I am using the tinyxml library to make a QT interface project. The problem now is that it can only be debugged and cannot be released. According to my positioning, there should be a problem with the “Next()” method in TiXmlAttribute. When I use this function, it will appear seg error. And it can be run without using it.Is there any solution, because I have to use this function.
TiXmlAttribute *pAttr;
pAttr = pEle->FirstAttribute();// the first attribute
while(nullptr != pAttr){
pAttr = pAttr->Next();
}
Upvotes: 0
Views: 38