From 2c358ced7ca10ab37a382477d8b55fdb4e353f44 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Thu, 22 May 2014 21:07:16 +0200 Subject: Replaced std::pair with the more convenient boost::optional<*> * InputXSLT is dependent on boost anyway, so there is no argument to be made to emulate boost::optional using std::pair --- src/support/include_entity_resolver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/support/include_entity_resolver.h') 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 #include +#include "boost/optional.hpp" + #include #include @@ -20,7 +22,7 @@ class IncludeEntityResolver : public xercesc::EntityResolver { const XMLCh* const ); - std::pair resolve(const std::string&); + boost::optional resolve(const std::string&); private: std::vector path_; -- cgit v1.2.3