Ticket #1271: boost_unused_parameter.diff

File boost_unused_parameter.diff, 512 bytes (added by Hans Meine <meine@…>, 15 years ago)
  • boost/python/converter/implicit.hpp

    old new  
    3131        void* storage = ((rvalue_from_python_storage<Target>*)data)->storage.bytes;
    3232
    3333        arg_from_python<Source> get_source(obj);
    34         bool convertible = get_source.convertible();
    35         BOOST_ASSERT(convertible);
     34        BOOST_ASSERT(get_source.convertible());
    3635       
    3736        new (storage) Target(get_source());
    3837