| 951 | } |
| 952 | |
| 953 | std::vector<TypeHolder> TypeHolder::FromTypes( |
| 954 | const std::vector<std::shared_ptr<DataType>>& types) { |
| 955 | std::vector<TypeHolder> type_holders; |
| 956 | type_holders.reserve(types.size()); |
| 957 | for (const auto& type : types) { |
| 958 | type_holders.emplace_back(type); |
| 959 | } |
| 960 | return type_holders; |
| 961 | } |
| 962 | |
| 963 | // ---------------------------------------------------------------------- |
| 964 |
nothing calls this directly
no test coverage detected