Redundant function
parent
b427e2f305
commit
a788cc13fa
|
@ -105,11 +105,6 @@ private:
|
|||
size_t _size;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
Span<const T> to_span(const std::vector<T> &vec) {
|
||||
return Span<const T>(vec.data(), 0, vec.size());
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
Span<T> to_span(std::vector<T> &vec) {
|
||||
return Span<T>(vec.data(), 0, vec.size());
|
||||
|
|
Loading…
Reference in New Issue