diff options
Diffstat (limited to 'src/utils/xml')
-rw-r--r-- | src/utils/xml/libxml.h | 4 | ||||
-rw-r--r-- | src/utils/xml/pugixml.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/utils/xml/libxml.h b/src/utils/xml/libxml.h index ca8c99639..1e03023ac 100644 --- a/src/utils/xml/libxml.h +++ b/src/utils/xml/libxml.h @@ -32,6 +32,8 @@ #include "utils/xml/libxml.inc" +#include "resources/resource.h" + #ifndef _GLIBCXX_STRING #include <string> #endif // _GLIBCXX_STRING @@ -47,7 +49,7 @@ namespace XML * A helper class for parsing an XML document, which also cleans it up * again (RAII). */ - class Document final + class Document final : public Resource { public: /** diff --git a/src/utils/xml/pugixml.h b/src/utils/xml/pugixml.h index ef7b3e798..0f2d049e6 100644 --- a/src/utils/xml/pugixml.h +++ b/src/utils/xml/pugixml.h @@ -32,6 +32,8 @@ #include "utils/xml/pugixml.inc" +#include "resources/resource.h" + #include <pugixml.hpp> #include <string> @@ -47,7 +49,7 @@ namespace XML * A helper class for parsing an XML document, which also cleans it up * again (RAII). */ - class Document final + class Document final : public Resource { public: /** |