diff --git a/include/boost/test/tools/assertion.hpp b/include/boost/test/tools/assertion.hpp index 57f463ff..b8643ed9 100644 --- a/include/boost/test/tools/assertion.hpp +++ b/include/boost/test/tools/assertion.hpp @@ -17,6 +17,7 @@ // Boost #include +#include #include #include #include @@ -195,11 +196,11 @@ public: #define ADD_OP_SUPPORT( oper, name, _ ) \ template \ - binary_expr::type, \ - op::name::type> > \ + binary_expr::type, \ + op::name::type> > \ operator oper( T const& rhs ) const \ { \ - typedef typename decay::type Rhs; \ + typedef typename boost::decay::type Rhs; \ return binary_expr > \ ( *static_cast(this), \ rhs ); \ diff --git a/test/test_assertion_construction.cpp b/test/test_assertion_construction.cpp index f2bd0be1..7de3c412 100644 --- a/test/test_assertion_construction.cpp +++ b/test/test_assertion_construction.cpp @@ -16,6 +16,7 @@ #define BOOST_TEST_MODULE Boost.Test assertion consruction test #include #include +#include #ifdef BOOST_NO_CXX11_AUTO_DECLARATIONS #include #endif