TestTypeTraits: Fix incorrectly namespaced nullptr_t

Problem:
- Clang ToT fails to build `AK/Tests/TestTypeTraits.cpp` because
  `nullptr_t` is missing the `std` namespace qualifier.

Solution:
- Prepend the namespace qualifier.
This commit is contained in:
Lenny Maiorani 2021-01-09 19:15:43 -07:00 committed by Andreas Kling
parent 43199e5613
commit 700f213011

View file

@ -58,7 +58,7 @@ struct Empty {
TEST_CASE(FundamentalTypeClassification)
{
EXPECT_TRAIT_TRUE(IsVoid, void);
EXPECT_TRAIT_FALSE(IsVoid, int, Empty, nullptr_t);
EXPECT_TRAIT_FALSE(IsVoid, int, Empty, std::nullptr_t);
EXPECT_TRAIT_TRUE(IsNullPointer, std::nullptr_t);
EXPECT_TRAIT_FALSE(IsNullPointer, void, int, Empty, decltype(0));