From dc79c20c4b63f34a0ae92fdf5bd217b38ded1c7d Mon Sep 17 00:00:00 2001 From: Raffi Enficiaud Date: Sun, 10 May 2015 00:34:11 +0200 Subject: [PATCH] Fixing the broken tests --- include/boost/test/tools/assertion.hpp | 7 ++++--- test/test_assertion_construction.cpp | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) 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