Make vector+vector template more readable

This commit is contained in:
Alex Beregszaszi 2017-08-21 14:22:26 +01:00
parent e2cfc9ee92
commit 3cf2426e1a

View File

@ -184,7 +184,8 @@ template <class T>
inline std::vector<T> operator+(std::vector<T> const& _a, std::vector<T> const& _b)
{
std::vector<T> ret(_a);
return ret += _b;
ret += _b;
return ret;
}
template <class T, class V>