From 6c7fd1db481ff10a16ecab958c6542784fa60b9c Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 30 Oct 2024 09:51:54 -0500 Subject: Use std::byte* instead of void* for allocators. --- test/test_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_string.cpp') diff --git a/test/test_string.cpp b/test/test_string.cpp index 9f5b24e..6bcbd37 100644 --- a/test/test_string.cpp +++ b/test/test_string.cpp @@ -25,7 +25,7 @@ namespace fud { TEST(FudString, CStringLength) { - const char* nullPointer = nullPointer; + const char* nullPointer{nullptr}; ASSERT_EQ(cStringLength(nullPointer), -1); ASSERT_EQ(cStringLength(""), 0); ASSERT_EQ(cStringLength("a"), 1); -- cgit v1.2.3