Attempt to fix the clang build

This commit is contained in:
Denis Blank 2018-11-25 20:43:14 +01:00
parent 41da6ba293
commit 67964b0793

View File

@ -66,7 +66,8 @@ TYPED_TEST_CASE(result_all_tests, result_test_types);
TYPED_TEST(result_all_tests, is_default_constructible) {
TypeParam e;
result<> e1;
static_assert(std::is_void<decltype(e1.get_value())>::value);
static_assert(std::is_void<decltype(e1.get_value())>::value,
"get_value() must return void here!");
EXPECT_TRUE(e1.is_empty());
result<int> e2;