From 8682f2bbaae15bfac132f8f41128d7cf9191be0e Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Sat, 6 Jun 2009 09:42:41 +0000 Subject: [PATCH] avoid C style casts [SVN r53671] --- include/boost/none.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/none.hpp b/include/boost/none.hpp index bd342da..e9fc062 100644 --- a/include/boost/none.hpp +++ b/include/boost/none.hpp @@ -20,7 +20,7 @@ namespace boost { -none_t const none = ((none_t)0) ; +none_t const none = (static_cast(0)) ; } // namespace boost