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:
parent
745321edf9
commit
a107dd8e46
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user