From 959ed79b021936811573f37da21ef981b5dc6d54 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Fri, 3 Oct 2025 21:24:16 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 814955784 --- src/google/protobuf/compiler/kotlin/generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/protobuf/compiler/kotlin/generator.cc b/src/google/protobuf/compiler/kotlin/generator.cc index e407cb78d0858..fa576aff77f85 100644 --- a/src/google/protobuf/compiler/kotlin/generator.cc +++ b/src/google/protobuf/compiler/kotlin/generator.cc @@ -82,8 +82,8 @@ bool KotlinGenerator::Generate(const FileDescriptor* file, std::vector all_files; std::vector all_annotations; - std::unique_ptr file_generator( - new FileGenerator(file, file_options)); + std::unique_ptr file_generator = + std::make_unique(file, file_options); if (!file_generator) return false;