Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48774 - branches/release/boost
From: joaquin_at_[hidden]
Date: 2008-09-14 12:36:06


Author: joaquin
Date: 2008-09-14 12:36:06 EDT (Sun, 14 Sep 2008)
New Revision: 48774
URL: http://svn.boost.org/trac/boost/changeset/48774

Log:
merged rev. 48728 from trunk
Text files modified:
   branches/release/boost/multi_index_container.hpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: branches/release/boost/multi_index_container.hpp
==============================================================================
--- branches/release/boost/multi_index_container.hpp (original)
+++ branches/release/boost/multi_index_container.hpp 2008-09-14 12:36:06 EDT (Sun, 14 Sep 2008)
@@ -267,11 +267,10 @@
   }
 
   multi_index_container<Value,IndexSpecifierList,Allocator>& operator=(
- const multi_index_container<Value,IndexSpecifierList,Allocator>& x)
+ multi_index_container<Value,IndexSpecifierList,Allocator> x)
   {
     BOOST_MULTI_INDEX_CHECK_INVARIANT;
- multi_index_container<Value,IndexSpecifierList,Allocator> tmp(x);
- this->swap(tmp);
+ this->swap(x);
     return *this;
   }
 


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