Workaround for msvc-14.0

This commit is contained in:
Vinnie Falco committed 2019-03-03 12:52:35 -08:00
1 parent f1947ea8ba
commit 62878255fb
2 files changed
+38 -33

No files matched your search

+6 -8
View File
@@ -44,6 +44,9 @@ public:
}
};
BOOST_STATIC_ASSERT(decorator::is_op_of<
req_t, request_type>::value);
struct res_t
{
bool pass_ = false;
@@ -68,6 +71,9 @@ public:
}
};
BOOST_STATIC_ASSERT(decorator::is_op_of<
res_t, response_type>::value);
struct both_t : res_t , req_t
{
using req_t::operator();
@@ -115,14 +121,6 @@ public:
decorator d3;
d3 = std::move(d2);
}
{
// this would be leaner with bind_front
decorator d(std::bind(
&decorator_test::dec_req, this,
std::placeholders::_1));
BEAST_EXPECT(d.is_inline());
}
}
void