Don't use nullptr

This commit is contained in:
Sergey Kosarevsky 2016-03-02 02:21:38 +01:00
parent 57eae5595e
commit ae785ffb52

View File

@ -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;
}