mirror of
https://github.com/Naios/continuable.git
synced 2026-02-16 23:29:48 +08:00
Attempt to fix the clang build
This commit is contained in:
parent
41da6ba293
commit
67964b0793
@ -66,7 +66,8 @@ TYPED_TEST_CASE(result_all_tests, result_test_types);
|
|||||||
TYPED_TEST(result_all_tests, is_default_constructible) {
|
TYPED_TEST(result_all_tests, is_default_constructible) {
|
||||||
TypeParam e;
|
TypeParam e;
|
||||||
result<> e1;
|
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());
|
EXPECT_TRUE(e1.is_empty());
|
||||||
|
|
||||||
result<int> e2;
|
result<int> e2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user