aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/stubs/bytestream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/stubs/bytestream.cc')
-rw-r--r--src/google/protobuf/stubs/bytestream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/bytestream.cc b/src/google/protobuf/stubs/bytestream.cc
index f4af6a50..8df2566a 100644
--- a/src/google/protobuf/stubs/bytestream.cc
+++ b/src/google/protobuf/stubs/bytestream.cc
@@ -113,7 +113,7 @@ char* GrowingArrayByteSink::GetBuffer(size_t* nbytes) {
ShrinkToFit();
char* b = buf_;
*nbytes = size_;
- buf_ = NULL;
+ buf_ = nullptr;
size_ = capacity_ = 0;
return b;
}