diff --git a/test/count_if.cpp b/test/count_if.cpp index d629c80..b864d60 100644 --- a/test/count_if.cpp +++ b/test/count_if.cpp @@ -28,11 +28,11 @@ namespace mpl = boost::mpl; int main() { using namespace mpl::placeholder; - typedef mpl::list types; + typedef mpl::list types; typedef mpl::list_c values; BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_float<_> >::type::value == 1)); - BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,char> >::type::value == 2)); + BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,char&> >::type::value == 2)); BOOST_STATIC_ASSERT((mpl::count_if< types, boost::is_same<_,void> >::type::value == 0)); BOOST_STATIC_ASSERT((mpl::count_if< values, mpl::lt<5> >::type::value == 4));