Skip to content

Commit a39fb30

Browse files
authored
[libc] Fix usage of std::nullptr_t in LibcTest.h. (#114321)
1 parent 6ffefbb commit a39fb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/UnitTest/LibcTest.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class Test {
165165
// Helper to allow macro invocations like `ASSERT_EQ(foo, nullptr)`.
166166
template <typename ValType,
167167
cpp::enable_if_t<cpp::is_pointer_v<ValType>, ValType> = nullptr>
168-
bool test(TestCond Cond, ValType LHS, std::nullptr_t, const char *LHSStr,
168+
bool test(TestCond Cond, ValType LHS, cpp::nullptr_t, const char *LHSStr,
169169
const char *RHSStr, internal::Location Loc) {
170170
return test(Cond, LHS, static_cast<ValType>(nullptr), LHSStr, RHSStr, Loc);
171171
}

0 commit comments

Comments
 (0)