mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make vector+vector template more readable
This commit is contained in:
parent
e2cfc9ee92
commit
3cf2426e1a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user