Fix msvc ICE in test

This commit is contained in:
Vinnie Falco
2020-03-29 13:22:34 -07:00
parent 45e8771972
commit 483b00d20f

View File

@@ -147,7 +147,7 @@ public:
buffers_adaptor<std::vector<net::mutable_buffer>> const&>::type;
auto sub = buffers_adaptor_test_hook::make_subrange(static_cast<maybe_mutable>(adapter));
BEAST_EXPECTS(typeid(typename decltype(sub)::value_type) == typeid(value_type), func);
//BEAST_EXPECTS(typeid(typename decltype(sub)::value_type) == typeid(value_type), func);
BEAST_EXPECT(buffers_to_string(sub) == exemplar.substr(0, c));
};