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");