Redundant function

master
Marc Gilleron 2021-08-01 18:45:27 +01:00
parent b427e2f305
commit a788cc13fa
1 changed files with 0 additions and 5 deletions

View File

@ -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());