aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CommonData.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevcore/CommonData.h')
-rw-r--r--libdevcore/CommonData.h3
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>