$OpenBSD: patch-protoc-c_c_file_h,v 1.1 2018/07/10 10:49:43 tb Exp $ https://github.com/protobuf-c/protobuf-c/pull/309 https://github.com/protobuf-c/protobuf-c/pull/328 Index: protoc-c/c_file.h --- protoc-c/c_file.h.orig +++ protoc-c/c_file.h @@ -98,13 +98,13 @@ class FileGenerator { private: const FileDescriptor* file_; - scoped_array > message_generators_; - scoped_array > enum_generators_; - scoped_array > service_generators_; - scoped_array > extension_generators_; + std::unique_ptr[] > message_generators_; + std::unique_ptr[] > enum_generators_; + std::unique_ptr[] > service_generators_; + std::unique_ptr[] > extension_generators_; // E.g. if the package is foo.bar, package_parts_ is {"foo", "bar"}. - vector package_parts_; + std::vector package_parts_; GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileGenerator); };