Blame boost-1.63.0-function-may-alias.patch
|
Jonathan Wakely |
594155 |
--- boost_1_63_0/boost/function/function_template.hpp.alias 2017-03-24 12:17:21.560125198 +0000
|
|
Jonathan Wakely |
594155 |
+++ boost_1_63_0/boost/function/function_template.hpp 2017-03-24 13:07:24.971891166 +0000
|
|
Jonathan Wakely |
594155 |
@@ -994,7 +994,7 @@
|
|
Jonathan Wakely |
594155 |
if (!f.empty()) {
|
|
Jonathan Wakely |
594155 |
this->vtable = f.vtable;
|
|
Jonathan Wakely |
594155 |
if (this->has_trivial_copy_and_destroy())
|
|
Jonathan Wakely |
594155 |
- this->functor = f.functor;
|
|
Jonathan Wakely |
594155 |
+ __builtin_memcpy(&this->functor, &f.functor, sizeof(f.functor));
|
|
Jonathan Wakely |
594155 |
else
|
|
Jonathan Wakely |
594155 |
get_vtable()->base.manager(f.functor, this->functor,
|
|
Jonathan Wakely |
594155 |
boost::detail::function::move_functor_tag);
|