Add some additional std::moves reported by Coverity

This commit is contained in:
Tim Wojtulewicz 2025-07-23 11:22:49 -07:00
parent 2ce26f1be0
commit 205c72d26f
19 changed files with 27 additions and 26 deletions

View file

@ -592,7 +592,7 @@ std::vector<T> split(T s, const T& delim) {
*/
template<typename T, typename U = typename T::value_type*>
std::vector<T> split(T s, U delim) {
return split(s, T{delim});
return split(std::move(s), std::move(T{delim}));
}
/**