forked from boostorg/beast
Workaround for msvc-14.0
This commit is contained in:
1 parent
f1947ea8ba
commit
62878255fb
2 files changed
+38
-33
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user