Ticket #1271: boost_unused_parameter.diff
File boost_unused_parameter.diff, 512 bytes (added by , 15 years ago) |
---|
-
boost/python/converter/implicit.hpp
old new 31 31 void* storage = ((rvalue_from_python_storage<Target>*)data)->storage.bytes; 32 32 33 33 arg_from_python<Source> get_source(obj); 34 bool convertible = get_source.convertible(); 35 BOOST_ASSERT(convertible); 34 BOOST_ASSERT(get_source.convertible()); 36 35 37 36 new (storage) Target(get_source()); 38 37