Skip to content

Commit f10fd17

Browse files
jnthntatumcopybara-github
authored andcommitted
Fix forwarding checker options from CreateTypeCheckerBuilder overload.
PiperOrigin-RevId: 689953414
1 parent 833abb1 commit f10fd17

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

checker/type_checker_builder.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ absl::StatusOr<TypeCheckerBuilder> CreateTypeCheckerBuilder(
8686
absl::Nonnull<const google::protobuf::DescriptorPool*> descriptor_pool,
8787
const CheckerOptions& options) {
8888
ABSL_DCHECK(descriptor_pool != nullptr);
89-
return CreateTypeCheckerBuilder(std::shared_ptr<const google::protobuf::DescriptorPool>(
90-
descriptor_pool, [](absl::Nullable<const google::protobuf::DescriptorPool*>) {}));
89+
return CreateTypeCheckerBuilder(
90+
std::shared_ptr<const google::protobuf::DescriptorPool>(
91+
descriptor_pool,
92+
[](absl::Nullable<const google::protobuf::DescriptorPool*>) {}),
93+
options);
9194
}
9295

9396
absl::StatusOr<TypeCheckerBuilder> CreateTypeCheckerBuilder(

0 commit comments

Comments
 (0)