File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515#include " common/type_factory.h"
1616
17- #include " absl/base/attributes.h"
1817#include " common/type.h"
19- #include " common/type_kind.h"
2018
2119namespace cel {
2220
23- namespace {
24-
25- bool IsValidMapKeyType (const Type& type) {
26- switch (type.kind ()) {
27- case TypeKind::kDyn :
28- ABSL_FALLTHROUGH_INTENDED;
29- case TypeKind::kError :
30- ABSL_FALLTHROUGH_INTENDED;
31- case TypeKind::kBool :
32- ABSL_FALLTHROUGH_INTENDED;
33- case TypeKind::kInt :
34- ABSL_FALLTHROUGH_INTENDED;
35- case TypeKind::kUint :
36- ABSL_FALLTHROUGH_INTENDED;
37- case TypeKind::kString :
38- return true ;
39- default :
40- return false ;
41- }
42- }
43-
44- } // namespace
45-
4621ListType TypeFactory::GetDynListType () { return ListType (); }
4722
4823MapType TypeFactory::GetDynDynMapType () { return MapType (); }
Original file line number Diff line number Diff line change @@ -1196,7 +1196,6 @@ class StructReflection final {
11961196 absl::Nullable<const google::protobuf::FieldDescriptor*> fields_field_ = nullptr ;
11971197 absl::Nullable<const google::protobuf::FieldDescriptor*> fields_key_field_ = nullptr ;
11981198 absl::Nullable<const google::protobuf::FieldDescriptor*> fields_value_field_ = nullptr ;
1199- google::protobuf::FieldDescriptor::CppStringType fields_key_field_string_type_;
12001199};
12011200
12021201absl::StatusOr<StructReflection> GetStructReflection (
You can’t perform that action at this time.
0 commit comments