From f7ed0aaeedf863b3c4cdeea64c255606747eab3f Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Fri, 24 Nov 2000 20:48:02 +0000 Subject: [PATCH] added std:: to unary_function [SVN r8321] --- iterator_adaptor_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iterator_adaptor_test.cpp b/iterator_adaptor_test.cpp index 6ec23c2..6f29393 100644 --- a/iterator_adaptor_test.cpp +++ b/iterator_adaptor_test.cpp @@ -60,7 +60,7 @@ struct mult_functor { template struct select1st_ - : public unary_function + : public std::unary_function { const typename Pair::first_type& operator()(const Pair& x) const { return x.first; @@ -139,7 +139,7 @@ main() boost::random_access_iterator_test(i, N, array); Projection::const_iterator j = pair_array; - boost::random_access_iterator_test(i, N, array); + boost::random_access_iterator_test(j, N, array); boost::const_nonconst_iterator_test(i, ++j); }