From c8cdcbc5a7d6f39ce9ac65316c041480de452f4e Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 10 Aug 2018 15:12:47 -0500 Subject: [PATCH] Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name' --- mfbt/tests/TestTypeTraits.cpp | 4 ++-- 1 file 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::value, "IsPointerTest not a pointer"); static_assert(IsPointer::value, "IsPointerTest* is a pointer"); -static_assert(!IsPointer::value, - "bool(IsPointerTest::*) not a pointer"); +static_assert(!IsPointer::value, + "bool(IsPointerTest::*)() not a pointer"); static_assert(!IsPointer::value, "void(IsPointerTest::*)(void) not a pointer");