Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2008-05-02 04:38:16


Author: nesotto
Date: 2008-05-02 04:38:15 EDT (Fri, 02 May 2008)
New Revision: 45011
URL: http://svn.boost.org/trac/boost/changeset/45011

Log:
added missing const in insert()
Text files modified:
   trunk/boost/ptr_container/ptr_map_adapter.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/ptr_container/ptr_map_adapter.hpp
==============================================================================
--- trunk/boost/ptr_container/ptr_map_adapter.hpp (original)
+++ trunk/boost/ptr_container/ptr_map_adapter.hpp 2008-05-02 04:38:15 EDT (Fri, 02 May 2008)
@@ -626,7 +626,7 @@
         }
 
         template< class U >
- iterator insert( key_type& key, std::auto_ptr<U> x )
+ iterator insert( const key_type& key, std::auto_ptr<U> x )
         {
             return insert( key, x.release() );
         }


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