Bug 1424866 - Fix a warning: unnecessary parentheses in declaration of 'type name' r?gerald
MozReview-Commit-ID: CBOTKHgqDfV
--- a/mfbt/tests/TestTypeTraits.cpp
+++ b/mfbt/tests/TestTypeTraits.cpp
@@ -66,17 +66,17 @@ static_assert(IsPointer<bool**>::value,
"bool** is a pointer");
static_assert(IsPointer<void (*)(void)>::value,
"void (*)(void) is a pointer");
struct IsPointerTest { bool m; void f(); };
static_assert(!IsPointer<IsPointerTest>::value,
"IsPointerTest not a pointer");
static_assert(IsPointer<IsPointerTest*>::value,
"IsPointerTest* is a pointer");
-static_assert(!IsPointer<bool(IsPointerTest::*)>::value,
+static_assert(!IsPointer<bool(IsPointerTest::*)()>::value,
"bool(IsPointerTest::*) not a pointer");
static_assert(!IsPointer<void(IsPointerTest::*)(void)>::value,
"void(IsPointerTest::*)(void) not a pointer");
static_assert(!IsLvalueReference<bool>::value,
"bool not an lvalue reference");
static_assert(!IsLvalueReference<bool*>::value,
"bool* not an lvalue reference");