Commit ae785ffb authored by Sergey Kosarevsky's avatar Sergey Kosarevsky

Don't use nullptr

parent 57eae559
......@@ -1522,7 +1522,7 @@ struct NumbersAsStringsHandler {
bool Double(double) { return true; }
// 'str' is not null-terminated
bool RawNumber(const char* str, SizeType length, bool) {
EXPECT_TRUE(str != nullptr);
EXPECT_TRUE(str != 0);
EXPECT_TRUE(strncmp(str, "3.1416", length) == 0);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment