diff options
Diffstat (limited to 'boost/boost.gcc47679.patch')
-rw-r--r-- | boost/boost.gcc47679.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/boost.gcc47679.patch b/boost/boost.gcc47679.patch index 9b33a5fffb8a..72ab15a97b09 100644 --- a/boost/boost.gcc47679.patch +++ b/boost/boost.gcc47679.patch @@ -56,6 +56,6 @@ + memset(&dummy_, 0, sizeof(dummy_)); + } + - void const* address() const { return &dummy_.data[0]; } - void * address() { return &dummy_.data[0]; } - } ; + #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS) + void const* address() const { return &dummy_; } + void * address() { return &dummy_; } |