aboutsummaryrefslogtreecommitdiff
path: root/src/support/include_entity_resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/include_entity_resolver.h')
-rw-r--r--src/support/include_entity_resolver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/include_entity_resolver.h b/src/support/include_entity_resolver.h
index b87e10f..1a3bbc1 100644
--- a/src/support/include_entity_resolver.h
+++ b/src/support/include_entity_resolver.h
@@ -4,6 +4,8 @@
#include <xercesc/sax/EntityResolver.hpp>
#include <xercesc/sax/InputSource.hpp>
+#include "boost/optional.hpp"
+
#include <string>
#include <vector>
@@ -20,7 +22,7 @@ class IncludeEntityResolver : public xercesc::EntityResolver {
const XMLCh* const
);
- std::pair<bool, boost::filesystem::path> resolve(const std::string&);
+ boost::optional<boost::filesystem::path> resolve(const std::string&);
private:
std::vector<FilesystemContext> path_;