Ticket #2393: boost-1.36.0.ptr_map.patch
File boost-1.36.0.ptr_map.patch, 728 bytes (added by , 14 years ago) |
---|
-
boost/ptr_container/ptr_map_adapter.hpp
old new 545 545 546 546 public: 547 547 548 std::pair<iterator,bool> insert( key_type& key, mapped_type x )548 std::pair<iterator,bool> insert( const key_type& key, mapped_type x ) 549 549 { 550 550 return insert_impl( key, x ); 551 551 } … … 794 794 insert( boost::begin(r), boost::end(r) ); 795 795 } 796 796 797 iterator insert( key_type& key, mapped_type x ) // strong797 iterator insert( const key_type& key, mapped_type x ) // strong 798 798 { 799 799 return insert_impl( key, x ); 800 800 }