Fix the MSVC build

This commit is contained in:
Denis Blank 2018-11-25 17:08:01 +01:00
parent f4268f60f9
commit 782e1c6447
2 changed files with 2 additions and 1 deletions

View File

@ -563,6 +563,7 @@ constexpr auto
next_hint_of(std::integral_constant<handle_results, handle_results::no>,
traits::identity<T> /*callback*/,
hints::signature_hint_tag<Args...> current) {
// TODO
return current;
}

View File

@ -104,7 +104,7 @@ TYPED_TEST(result_all_tests, is_move_constructible) {
}
{
TypeParam e(TypeParam(supply_test_exception()));
TypeParam e{TypeParam{supply_test_exception()}};
EXPECT_FALSE(bool(e));
EXPECT_FALSE(e.is_value());
EXPECT_TRUE(e.is_exception());