| 97 | |
| 98 | template <typename TSource, typename TDestination> |
| 99 | void copyData( |
| 100 | const TSource* pSource, |
| 101 | TDestination* pDestination, |
| 102 | int64_t length) { |
| 103 | std::transform(pSource, pSource + length, pDestination, [](auto x) { |
| 104 | return static_cast<TDestination>(x); |
| 105 | }); |
| 106 | } |
| 107 | |
| 108 | template <typename T> |
| 109 | void copyData(const T* pSource, T* pDestination, int64_t length) { |
no outgoing calls
no test coverage detected