summaryrefslogtreecommitdiff
path: root/src/utils/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml')
-rw-r--r--src/utils/xml/libxml.cpp4
-rw-r--r--src/utils/xml/libxml.h4
-rw-r--r--src/utils/xml/pugixml.cpp4
-rw-r--r--src/utils/xml/pugixml.h4
-rw-r--r--src/utils/xml/pugixmlwriter.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/utils/xml/libxml.cpp b/src/utils/xml/libxml.cpp
index 8b5b34efc..f6e38f08f 100644
--- a/src/utils/xml/libxml.cpp
+++ b/src/utils/xml/libxml.cpp
@@ -81,7 +81,7 @@ static void xmlErrorLogger(void *ctx A_UNUSED, const char *msg, ...)
namespace XML
{
Document::Document(const std::string &filename,
- const UseResman useResman,
+ const UseVirtFs useResman,
const SkipError skipError) :
Resource(),
mDoc(nullptr),
@@ -96,7 +96,7 @@ namespace XML
int size = 0;
char *data = nullptr;
valid = true;
- if (useResman == UseResman_true)
+ if (useResman == UseVirtFs_true)
{
data = static_cast<char*>(VirtFs::loadFile(
filename.c_str(), size));
diff --git a/src/utils/xml/libxml.h b/src/utils/xml/libxml.h
index f1c192072..9ef419121 100644
--- a/src/utils/xml/libxml.h
+++ b/src/utils/xml/libxml.h
@@ -28,7 +28,7 @@
#define XML_INCLUDE_DEFINE
#include "enums/simpletypes/skiperror.h"
-#include "enums/simpletypes/useresman.h"
+#include "enums/simpletypes/usevirtfs.h"
#include "utils/xml/libxml.inc"
@@ -57,7 +57,7 @@ namespace XML
* resource manager. Logs errors.
*/
Document(const std::string &filename,
- const UseResman useResman,
+ const UseVirtFs useResman,
const SkipError skipError);
/**
diff --git a/src/utils/xml/pugixml.cpp b/src/utils/xml/pugixml.cpp
index 47d6b25de..8d5e8db59 100644
--- a/src/utils/xml/pugixml.cpp
+++ b/src/utils/xml/pugixml.cpp
@@ -58,7 +58,7 @@ namespace XML
}
Document::Document(const std::string &filename,
- const UseResman useResman,
+ const UseVirtFs useResman,
const SkipError skipError) :
Resource(),
mDoc(),
@@ -74,7 +74,7 @@ namespace XML
int size = 0;
char *data = nullptr;
valid = true;
- if (useResman == UseResman_true)
+ if (useResman == UseVirtFs_true)
{
data = static_cast<char*>(VirtFs::loadFile(
filename.c_str(), size));
diff --git a/src/utils/xml/pugixml.h b/src/utils/xml/pugixml.h
index 3f2556c16..b6d9e5bfd 100644
--- a/src/utils/xml/pugixml.h
+++ b/src/utils/xml/pugixml.h
@@ -28,7 +28,7 @@
#define XML_INCLUDE_DEFINE
#include "enums/simpletypes/skiperror.h"
-#include "enums/simpletypes/useresman.h"
+#include "enums/simpletypes/usevirtfs.h"
#include "utils/xml/pugixml.inc"
@@ -57,7 +57,7 @@ namespace XML
* resource manager. Logs errors.
*/
Document(const std::string &filename,
- const UseResman useResman,
+ const UseVirtFs useResman,
const SkipError skipError);
/**
diff --git a/src/utils/xml/pugixmlwriter.h b/src/utils/xml/pugixmlwriter.h
index 3d6712992..fe5977655 100644
--- a/src/utils/xml/pugixmlwriter.h
+++ b/src/utils/xml/pugixmlwriter.h
@@ -24,7 +24,7 @@
#ifdef ENABLE_PUGIXML
#include "enums/simpletypes/skiperror.h"
-#include "enums/simpletypes/useresman.h"
+#include "enums/simpletypes/usevirtfs.h"
#include "utils/xml/pugixml.h"