From d84c5c9364853f428b876880285c5ed83588b583 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 12 Jun 2009 18:24:47 +0000 Subject: [PATCH] Try to avoid float to int warning when a float function doesn't exist. Refs #3171. [SVN r53828] --- include/boost/functional/hash/detail/float_functions.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/functional/hash/detail/float_functions.hpp b/include/boost/functional/hash/detail/float_functions.hpp index 60dbb2a..9ec0dd2 100644 --- a/include/boost/functional/hash/detail/float_functions.hpp +++ b/include/boost/functional/hash/detail/float_functions.hpp @@ -99,7 +99,8 @@ namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS { #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 \ + boost::hash_detail::not_found c99_func(Float, type2); \ } \ \ namespace boost { \