From f7219526788d3170a5d8de33f7adf13afe38d581 Mon Sep 17 00:00:00 2001 From: trav90 Date: Fri, 10 Aug 2018 15:12:47 -0500 Subject: 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(-) (limited to 'mfbt/tests/TestTypeTraits.cpp') 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::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"); -- cgit v1.2.3