diff options
Diffstat (limited to 'include/exception')
| -rw-r--r-- | include/exception | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exception b/include/exception index 5a905e7e58d8..686e4ecd0578 100644 --- a/include/exception +++ b/include/exception @@ -235,7 +235,7 @@ rethrow_if_nested(const _Ep& __e, typename enable_if< is_polymorphic<_Ep>::value >::type* = 0) { - const nested_exception* __nep = dynamic_cast<const nested_exception*>(&__e); + const nested_exception* __nep = dynamic_cast<const nested_exception*>(_VSTD::addressof(__e)); if (__nep) __nep->rethrow_nested(); } |
