From d490a84c8d10b2232541cdec36f9631c181df4cc Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Sat, 2 Apr 2011 10:14:51 +0000 Subject: [PATCH] [boost][range] - Improved the work-around for VC10 for_each implementation. Corrected a missing newline at the end of the file. [SVN r70850] --- include/boost/range/algorithm/for_each.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/range/algorithm/for_each.hpp b/include/boost/range/algorithm/for_each.hpp index dc2221d..12c9d4d 100755 --- a/include/boost/range/algorithm/for_each.hpp +++ b/include/boost/range/algorithm/for_each.hpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #if BOOST_WORKAROUND(BOOST_MSVC, == 1600) @@ -54,7 +55,7 @@ namespace boost void >::type* = 0) { - return std::for_each(first, last, fn); + return std::for_each(first, last, fn); } } #endif @@ -106,4 +107,4 @@ inline UnaryFunction for_each(const SinglePassRange& rng, UnaryFunction fun) using range::for_each; } // namespace boost -#endif // include guard \ No newline at end of file +#endif // include guard