diff options
author | trav90 <travawine@protonmail.ch> | 2018-08-10 15:12:47 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-08-10 15:12:47 -0500 |
commit | f7219526788d3170a5d8de33f7adf13afe38d581 (patch) | |
tree | d7d9e6431fc28e41c37798be357e99936ef1dba6 /mfbt | |
parent | 3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa (diff) | |
download | uxp-f7219526788d3170a5d8de33f7adf13afe38d581.tar.gz |
Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'
Diffstat (limited to 'mfbt')
-rw-r--r-- | mfbt/tests/TestTypeTraits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mfbt/tests/TestTypeTraits.cpp b/mfbt/tests/TestTypeTraits.cpp index f0a5651429..eb412bc54c 100644 --- a/mfbt/tests/TestTypeTraits.cpp +++ b/mfbt/tests/TestTypeTraits.cpp @@ -70,8 +70,8 @@ static_assert(!IsPointer<IsPointerTest>::value, "IsPointerTest not a pointer"); static_assert(IsPointer<IsPointerTest*>::value, "IsPointerTest* is a pointer"); -static_assert(!IsPointer<bool(IsPointerTest::*)>::value, - "bool(IsPointerTest::*) not a pointer"); +static_assert(!IsPointer<bool(IsPointerTest::*)()>::value, + "bool(IsPointerTest::*)() not a pointer"); static_assert(!IsPointer<void(IsPointerTest::*)(void)>::value, "void(IsPointerTest::*)(void) not a pointer"); |