mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
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:
parent
43199e5613
commit
700f213011
Notes:
sideshowbarker
2024-07-18 23:57:33 +09:00
Author: https://github.com/ldm5180 Commit: https://github.com/SerenityOS/serenity/commit/700f2130111 Pull-request: https://github.com/SerenityOS/serenity/pull/4873
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue