|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53669 - trunk/boost/exception
From: gennadiy.rozental_at_[hidden]
Date: 2009-06-06 05:39:28
Author: rogeeff
Date: 2009-06-06 05:39:27 EDT (Sat, 06 Jun 2009)
New Revision: 53669
URL: http://svn.boost.org/trac/boost/changeset/53669
Log:
avoid C style casts
Text files modified:
trunk/boost/exception/exception.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/exception/exception.hpp
==============================================================================
--- trunk/boost/exception/exception.hpp (original)
+++ trunk/boost/exception/exception.hpp 2009-06-06 05:39:27 EDT (Sat, 06 Jun 2009)
@@ -303,7 +303,7 @@
struct
enable_error_info_return_type
{
- typedef typename enable_error_info_helper<T,sizeof(dispatch(reinterpret_cast<T*>(0)))>::type type;
+ typedef typename enable_error_info_helper<T,sizeof(dispatch(static_cast<T*>(0)))>::type type;
};
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk