Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53671 - trunk/boost
From: gennadiy.rozental_at_[hidden]
Date: 2009-06-06 05:42:41


Author: rogeeff
Date: 2009-06-06 05:42:41 EDT (Sat, 06 Jun 2009)
New Revision: 53671
URL: http://svn.boost.org/trac/boost/changeset/53671

Log:
avoid C style casts
Text files modified:
   trunk/boost/none.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/none.hpp
==============================================================================
--- trunk/boost/none.hpp (original)
+++ trunk/boost/none.hpp 2009-06-06 05:42:41 EDT (Sat, 06 Jun 2009)
@@ -20,7 +20,7 @@
 
 namespace boost {
 
-none_t const none = ((none_t)0) ;
+none_t const none = (static_cast<none_t>(0)) ;
 
 } // namespace boost
 


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