diff --git a/src/google/protobuf/descriptor.cc b/src/google/protobuf/descriptor.cc index 2ff141059c..81cfcaa7e9 100644 --- a/src/google/protobuf/descriptor.cc +++ b/src/google/protobuf/descriptor.cc @@ -2032,7 +2032,8 @@ internal::FlatAllocator::Allocation* DescriptorPool::Tables::CreateFlatAlloc( typename std::tuple_element>::type>(); size_t total_size = last_end + RoundUpTo(sizeof(FlatAlloc)); - char* data = static_cast(::operator new(total_size)); + char* data = static_cast(::operator new(total_size + )); auto* res = ::new (data) FlatAlloc(ends); flat_allocs_.emplace_back(res);