$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53828 - trunk/boost/functional/hash/detail
From: daniel_james_at_[hidden]
Date: 2009-06-12 14:24:48
Author: danieljames
Date: 2009-06-12 14:24:47 EDT (Fri, 12 Jun 2009)
New Revision: 53828
URL: http://svn.boost.org/trac/boost/changeset/53828
Log:
Try to avoid float to int warning when a float function doesn't exist. Refs #3171.
Text files modified: 
   trunk/boost/functional/hash/detail/float_functions.hpp |     3 ++-                                     
   1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/functional/hash/detail/float_functions.hpp
==============================================================================
--- trunk/boost/functional/hash/detail/float_functions.hpp	(original)
+++ trunk/boost/functional/hash/detail/float_functions.hpp	2009-06-12 14:24:47 EDT (Fri, 12 Jun 2009)
@@ -99,7 +99,8 @@
 
 #define BOOST_HASH_CALL_FLOAT_FUNC(cpp_func, c99_func, type1, type2)    \
 namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS {                           \
-    boost::hash_detail::not_found c99_func(int, type2);                 \
+    template <class Float>                                              \
+    boost::hash_detail::not_found c99_func(Float, type2);               \
 }                                                                       \
                                                                         \
 namespace boost {                                                       \