summaryrefslogtreecommitdiff
path: root/boost/xpressive/match_results.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/xpressive/match_results.hpp')
-rw-r--r--boost/xpressive/match_results.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/boost/xpressive/match_results.hpp b/boost/xpressive/match_results.hpp
index e7923f87de..2eb5c4b232 100644
--- a/boost/xpressive/match_results.hpp
+++ b/boost/xpressive/match_results.hpp
@@ -1354,8 +1354,10 @@ private:
//
template<typename BidiIter>
struct regex_id_filter_predicate
- : std::unary_function<match_results<BidiIter>, bool>
{
+ typedef match_results<BidiIter> argument_type;
+ typedef bool result_type;
+
regex_id_filter_predicate(regex_id_type regex_id)
: regex_id_(regex_id)
{