1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-05 04:25:19 +02:00

Fix pxml.cpp compile

This commit is contained in:
Lars-Peter Clausen 2010-05-01 12:48:03 +02:00
parent 745321edf9
commit a107dd8e46

View File

@ -1,6 +1,8 @@
#include "pxml.h"
#include "tinyxml/tinyxml.h"
#include <sstream>
using namespace std;
PXml::PXml(string file) {
@ -8,7 +10,7 @@ PXml::PXml(string file) {
error = title = description = authorName = authorWebsite = category = exec = icon = "";
version = osVersion = (SoftwareVersion){0,0,0,0};
TiXmlDocument doc(file);
TiXmlDocument doc(file.c_str());
if (doc.LoadFile()) {
TiXmlHandle hDoc(&doc);
TiXmlElement* pElem;