Ticket #6089: patch

File patch, 505 bytes (added by jdoliner@…, 11 years ago)

A patch which fixes the problem.

  • boost/ptr_container/ptr_map_adapter.hpp

     
    549549       
    550550    public:
    551551       
    552         std::pair<iterator,bool> insert( key_type& key, mapped_type x )
     552        std::pair<iterator,bool> insert( const key_type& key, mapped_type x )
    553553        {
    554554            return insert_impl( key, x );
    555555        }