Ticket #2301: assign.patch

File assign.patch, 1.2 KB (added by alexott@…, 14 years ago)

patch to fix warnings

  • boost/assign/assignment_exception.hpp

     
    2525        class assignment_exception : public std::exception
    2626        {
    2727        public:
    28             assignment_exception( const char* what )
    29             : what_( what )
     28            assignment_exception( const char* _what )
     29            : what_( _what )
    3030            { }
    3131       
    3232            virtual const char* what() const throw()
  • boost/assign/list_inserter.hpp

     
    4040        std::size_t  sz;
    4141        T            val;
    4242
    43         repeater( std::size_t sz, T r ) : sz( sz ), val( r )
     43        repeater( std::size_t sz_, T r ) : sz( sz_ ), val( r )
    4444        { }
    4545    };
    4646   
     
    5050        std::size_t  sz;
    5151        Fun          val;
    5252       
    53         fun_repeater( std::size_t sz, Fun r ) : sz( sz ), val( r )
     53        fun_repeater( std::size_t sz_, Fun r ) : sz( sz_ ), val( r )
    5454        { }
    5555    };
    5656