From 526b350199e604b62daaee9febc5d8a8d593a010 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Mon, 6 Aug 2018 23:10:16 +0800 Subject: 4593 Replace all occurrences of "NULL" to nullptr in src/google/protobug/stubs --- src/google/protobuf/stubs/stringprintf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/google/protobuf/stubs/stringprintf.cc') diff --git a/src/google/protobuf/stubs/stringprintf.cc b/src/google/protobuf/stubs/stringprintf.cc index d98b9b87..820bfe7f 100644 --- a/src/google/protobuf/stubs/stringprintf.cc +++ b/src/google/protobuf/stubs/stringprintf.cc @@ -76,7 +76,7 @@ void StringAppendV(string* dst, const char* format, va_list ap) { // Error or MSVC running out of space. MSVC 8.0 and higher // can be asked about space needed with the special idiom below: va_copy(backup_ap, ap); - result = vsnprintf(NULL, 0, format, backup_ap); + result = vsnprintf(nullptr, 0, format, backup_ap); va_end(backup_ap); } -- cgit v1.2.3