summaryrefslogtreecommitdiffstats
path: root/mfbt
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
commitf7219526788d3170a5d8de33f7adf13afe38d581 (patch)
treed7d9e6431fc28e41c37798be357e99936ef1dba6 /mfbt
parent3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa (diff)
downloadUXP-f7219526788d3170a5d8de33f7adf13afe38d581.tar
UXP-f7219526788d3170a5d8de33f7adf13afe38d581.tar.gz
UXP-f7219526788d3170a5d8de33f7adf13afe38d581.tar.lz
UXP-f7219526788d3170a5d8de33f7adf13afe38d581.tar.xz
UXP-f7219526788d3170a5d8de33f7adf13afe38d581.zip
Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name'
Diffstat (limited to 'mfbt')
-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");