mirror of
				https://github.com/Tencent/rapidjson.git
				synced 2025-10-27 19:10:24 +01:00 
			
		
		
		
	Don't use nullptr
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey Kosarevsky
					Sergey Kosarevsky