summaryrefslogtreecommitdiff
path: root/external/boost/boost.3780.aliasing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/boost/boost.3780.aliasing.patch')
-rw-r--r--external/boost/boost.3780.aliasing.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/external/boost/boost.3780.aliasing.patch b/external/boost/boost.3780.aliasing.patch
deleted file mode 100644
index d9cff1b7aa99..000000000000
--- a/external/boost/boost.3780.aliasing.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- misc/boost_1_44_0/boost/function/function_base.hpp
-+++ misc/build/boost_1_44_0/boost/function/function_base.hpp
-@@ -314,17 +322,17 @@
- {
- if (op == clone_functor_tag || op == move_functor_tag) {
- const functor_type* in_functor =
-- reinterpret_cast<const functor_type*>(&in_buffer.data);
-+ static_cast<const functor_type*>(static_cast<void*>(&in_buffer.data));
- new (reinterpret_cast<void*>(&out_buffer.data)) functor_type(*in_functor);
-
- if (op == move_functor_tag) {
-- functor_type* f = reinterpret_cast<functor_type*>(&in_buffer.data);
-+ functor_type* f = static_cast<functor_type*>(static_cast<void*>(&in_buffer.data));
- (void)f; // suppress warning about the value of f not being used (MSVC)
- f->~Functor();
- }
- } else if (op == destroy_functor_tag) {
- // Some compilers (Borland, vc6, ...) are unhappy with ~functor_type.
-- functor_type* f = reinterpret_cast<functor_type*>(&out_buffer.data);
-+ functor_type* f = static_cast<functor_type*>(static_cast<void*>(&out_buffer.data));
- (void)f; // suppress warning about the value of f not being used (MSVC)
- f->~Functor();
- } else if (op == check_functor_type_tag) {