Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80299 - trunk/boost/icl/concept
From: afojgo_at_[hidden]
Date: 2012-08-29 02:20:22


Author: jofaber
Date: 2012-08-29 02:20:21 EDT (Wed, 29 Aug 2012)
New Revision: 80299
URL: http://svn.boost.org/trac/boost/changeset/80299

Log:
Fixed return type on operator +=
Text files modified:
   trunk/boost/icl/concept/element_associator.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/icl/concept/element_associator.hpp
==============================================================================
--- trunk/boost/icl/concept/element_associator.hpp (original)
+++ trunk/boost/icl/concept/element_associator.hpp 2012-08-29 02:20:21 EDT (Wed, 29 Aug 2012)
@@ -188,7 +188,7 @@
 }
 
 template <class Type>
-inline typename enable_if<is_associative_element_container<Type>, Type>::type
+inline typename enable_if<is_associative_element_container<Type>, Type>::type&
 operator += (Type& object, const Type& operand)
 {
     if(&object == &operand)


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