File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ TypeId ListType::type_id() const { return kTypeId; }
156156const SchemaField& ListType::element () const { return element_; }
157157
158158std::string ListType::ToString () const {
159- return std::vformat (" list<{}>" , std::make_format_args ( element_));
159+ return std::format (" list<{}>" , element_. ToString ( ));
160160}
161161
162162std::span<const SchemaField> ListType::fields () const { return {&element_, 1 }; }
@@ -213,7 +213,7 @@ const SchemaField& MapType::value() const { return fields_[1]; }
213213TypeId MapType::type_id () const { return kTypeId ; }
214214
215215std::string MapType::ToString () const {
216- return std::vformat (" map<{}: {}>" , std::make_format_args ( key (), value ()));
216+ return std::format (" map<{}: {}>" , key (). ToString () , value (). ToString ( ));
217217}
218218
219219std::span<const SchemaField> MapType::fields () const { return fields_; }
You can’t perform that action at this time.
0 commit comments