Skip to content

Commit ae785ff

Browse files
Don't use nullptr
1 parent 57eae55 commit ae785ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittest/readertest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ struct NumbersAsStringsHandler {
15221522
bool Double(double) { return true; }
15231523
// 'str' is not null-terminated
15241524
bool RawNumber(const char* str, SizeType length, bool) {
1525-
EXPECT_TRUE(str != nullptr);
1525+
EXPECT_TRUE(str != 0);
15261526
EXPECT_TRUE(strncmp(str, "3.1416", length) == 0);
15271527
return true;
15281528
}

0 commit comments

Comments
 (0)