summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-08-10 15:12:47 -0500
committertrav90 <travawine@protonmail.ch>2018-08-10 15:12:47 -0500
commit1d9aa14e1aa0a7423f436e9bd6a61c3a156dff9b (patch)
treed7d9e6431fc28e41c37798be357e99936ef1dba6
parent234a5334508f7b1699949ef194e5c18185d420c7 (diff)
downloadaura-central-1d9aa14e1aa0a7423f436e9bd6a61c3a156dff9b.tar.gz
Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'
-rw-r--r--mfbt/tests/TestTypeTraits.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mfbt/tests/TestTypeTraits.cpp b/mfbt/tests/TestTypeTraits.cpp
index f0a565142..eb412bc54 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");