From cdf5022ada7159f0c82888bebee026cbbf4ac697 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 3 Sep 2020 10:46:11 -0700 Subject: [PATCH] Use {} --- src/google/protobuf/descriptor_database.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/descriptor_database.cc b/src/google/protobuf/descriptor_database.cc index e009ad0b4..151b36eab 100644 --- a/src/google/protobuf/descriptor_database.cc +++ b/src/google/protobuf/descriptor_database.cc @@ -628,7 +628,7 @@ bool EncodedDescriptorDatabase::DescriptorIndex::AddFile(const FileProto& file, Value value) { // We push `value` into the array first. This is important because the AddXXX // functions below will expect it to be there. - all_values_.push_back({value.first, value.second, nullptr}); + all_values_.push_back({value.first, value.second, {}}); if (!ValidateSymbolName(file.package())) { GOOGLE_LOG(ERROR) << "Invalid package name: " << file.package();