utility: Fixed utility::append for vector was actually prepending

This commit is contained in:
Eberhard Graether
2016-04-20 16:28:29 +02:00
parent 1a843db3b7
commit 3ee5f261d6
+1 -1
View File
@@ -71,7 +71,7 @@ std::vector<T> utility::concat(const std::vector<T>& a, const std::vector<T>& b)
template<typename T>
void utility::append(std::vector<T>& a, const std::vector<T>& b)
{
a.insert(a.begin(), b.begin(), b.end());
a.insert(a.end(), b.begin(), b.end());
}
template<typename T>