Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51504 - trunk/libs/unordered/test/helpers
From: daniel_james_at_[hidden]
Date: 2009-03-01 09:15:09


Author: danieljames
Date: 2009-03-01 09:15:09 EST (Sun, 01 Mar 2009)
New Revision: 51504
URL: http://svn.boost.org/trac/boost/changeset/51504

Log:
Add missing return for operator=.
Text files modified:
   trunk/libs/unordered/test/helpers/list.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/libs/unordered/test/helpers/list.hpp
==============================================================================
--- trunk/libs/unordered/test/helpers/list.hpp (original)
+++ trunk/libs/unordered/test/helpers/list.hpp 2009-03-01 09:15:09 EST (Sun, 01 Mar 2009)
@@ -144,6 +144,7 @@
         list& operator=(list const& other) {
             clear();
             insert(other.begin(), other.end());
+ return *this;
         }
 
         iterator begin() { return iterator(data_.first_); }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk