Use {}
This commit is contained in:
parent
8f2ae3a0fc
commit
cdf5022ada
@ -628,7 +628,7 @@ bool EncodedDescriptorDatabase::DescriptorIndex::AddFile(const FileProto& file,
|
|||||||
Value value) {
|
Value value) {
|
||||||
// We push `value` into the array first. This is important because the AddXXX
|
// We push `value` into the array first. This is important because the AddXXX
|
||||||
// functions below will expect it to be there.
|
// 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())) {
|
if (!ValidateSymbolName(file.package())) {
|
||||||
GOOGLE_LOG(ERROR) << "Invalid package name: " << file.package();
|
GOOGLE_LOG(ERROR) << "Invalid package name: " << file.package();
|
||||||
|
Loading…
Reference in New Issue
Block a user