diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-30 09:51:54 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-30 09:51:54 -0500 |
commit | 6c7fd1db481ff10a16ecab958c6542784fa60b9c (patch) | |
tree | e0162f930ec44a7c53b07061311d52910c36e481 /test/test_string.cpp | |
parent | 8dcb1de91e15ff7fc66279cd9cd9ad8a70f624e0 (diff) |
Use std::byte* instead of void* for allocators.
Diffstat (limited to 'test/test_string.cpp')
-rw-r--r-- | test/test_string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |