summaryrefslogtreecommitdiff
path: root/project2/xml/xmlScriptParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/xml/xmlScriptParser.h')
-rw-r--r--project2/xml/xmlScriptParser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/project2/xml/xmlScriptParser.h b/project2/xml/xmlScriptParser.h
index 4f9881b..e53e165 100644
--- a/project2/xml/xmlScriptParser.h
+++ b/project2/xml/xmlScriptParser.h
@@ -5,7 +5,7 @@
#include "exceptions.h"
#include "scriptLoader.h"
#include "scripts.h"
-#include <boost/filesystem/path.hpp>
+#include <filesystem>
#include <libxml++/document.h>
#include <libxml++/nodes/element.h>
#include <libxml++/parsers/domparser.h>
@@ -38,15 +38,15 @@ class DLL_PUBLIC XmlScriptParser : public xmlpp::DomParser, public ScriptReader,
SimpleMessageExceptionBase(NotReadable, ParseError);
SimpleMessageExceptionBase(IncludesError, ParseError);
- XmlScriptParser(const boost::filesystem::path & file);
+ XmlScriptParser(const std::filesystem::path & file);
ScriptNodePtr root() const;
void load(const CommonObjects *, bool childrenOnly) const;
bool isCurrent() const;
time_t modifiedTime() const;
private:
mutable ScriptNodePtr _root;
- void doIncludes(xmlpp::Element * e, const boost::filesystem::path & f);
- typedef std::map<boost::filesystem::path, std::time_t> Files;
+ void doIncludes(xmlpp::Element * e, const std::filesystem::path & f);
+ typedef std::map<std::filesystem::path, std::time_t> Files;
Files files;
};