diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-21 21:22:26 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-22 17:51:46 +0800 |
commit | 3cf2426e1a2975a60176cb46040fccfbc182d771 (patch) | |
tree | dd48e55b8950a6928fb76cadc0cc2dc1b80a8049 | |
parent | e2cfc9ee92158169b5dd058074f25d67959e9875 (diff) | |
download | dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar.gz dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar.bz2 dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar.lz dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar.xz dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.tar.zst dexon-solidity-3cf2426e1a2975a60176cb46040fccfbc182d771.zip |
Make vector+vector template more readable
-rw-r--r-- | libdevcore/CommonData.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdevcore/CommonData.h b/libdevcore/CommonData.h index 6f40d7be..0321011e 100644 --- a/libdevcore/CommonData.h +++ b/libdevcore/CommonData.h @@ -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> |