Skip to content

Commit

Permalink
Use {}
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored and acozzette committed Sep 8, 2020
1 parent 8f2ae3a commit cdf5022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/descriptor_database.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cdf5022

Please sign in to comment.