mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Fix pxml.cpp compile
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user