Skip to content

Commit eebc4e9

Browse files
jckingcopybara-github
authored andcommitted
Remove deadcode
PiperOrigin-RevId: 691936622
1 parent c726423 commit eebc4e9

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

eval/public/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,6 @@ cc_library(
810810
"//eval/public/structs:legacy_type_info_apis",
811811
"//eval/public/structs:legacy_type_provider",
812812
"//runtime:type_registry",
813-
"//runtime/internal:composed_type_provider",
814813
"@com_google_absl//absl/container:flat_hash_map",
815814
"@com_google_absl//absl/container:flat_hash_set",
816815
"@com_google_absl//absl/status:statusor",

eval/public/cel_type_registry.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "absl/container/flat_hash_set.h"
2525
#include "absl/strings/string_view.h"
2626
#include "eval/public/structs/legacy_type_provider.h"
27-
#include "runtime/internal/composed_type_provider.h"
2827
#include "runtime/type_registry.h"
2928

3029
namespace google::api::expr::runtime {
@@ -83,15 +82,6 @@ class CelTypeRegistry {
8382
return modern_type_registry_.GetComposedTypeProvider();
8483
}
8584

86-
// Register an additional type provider with the registry.
87-
//
88-
// A pointer to the registered provider is returned to support testing,
89-
// but users should prefer to use the composed type provider from
90-
// GetTypeProvider()
91-
void RegisterModernTypeProvider(std::unique_ptr<cel::TypeProvider> provider) {
92-
return modern_type_registry_.AddTypeProvider(std::move(provider));
93-
}
94-
9585
// Find a type adapter given a fully qualified type name.
9686
// Adapter provides a generic interface for the reflection operations the
9787
// interpreter needs to provide.

0 commit comments

Comments
 (0)