From 40a89ac649e5ddaae8c08c163d7e1ff2c9bc7f16 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 1 Mar 2009 14:15:09 +0000 Subject: [PATCH] Add missing return for operator=. [SVN r51504] --- test/helpers/list.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/helpers/list.hpp b/test/helpers/list.hpp index 7a234d69..14e1427c 100644 --- a/test/helpers/list.hpp +++ b/test/helpers/list.hpp @@ -144,6 +144,7 @@ namespace test list& operator=(list const& other) { clear(); insert(other.begin(), other.end()); + return *this; } iterator begin() { return iterator(data_.first_); }