From 6cf830742dd4946fb10daabceb4f1313fe22539b Mon Sep 17 00:00:00 2001 From: Alexander Arlt Date: Tue, 7 Apr 2020 08:26:40 -0500 Subject: [PATCH] Fix ownership. --- libsolutil/CommonData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolutil/CommonData.h b/libsolutil/CommonData.h index f969ad212..fa11d2bc7 100644 --- a/libsolutil/CommonData.h +++ b/libsolutil/CommonData.h @@ -38,7 +38,7 @@ /// Operators need to stay in the global namespace. /// Concatenate the contents of a container onto a vector -template std::vector& operator+=(std::vector& _a, U const& _b) +template std::vector& operator+=(std::vector& _a, U& _b) { for (auto const& i: _b) _a.push_back(i);