mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 14:04:27 +02:00
Try to avoid float to int warning when a float function doesn't exist. Refs #3171.
[SVN r53828]
This commit is contained in:
@@ -99,7 +99,8 @@ namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS {
|
|||||||
|
|
||||||
#define BOOST_HASH_CALL_FLOAT_FUNC(cpp_func, c99_func, type1, type2) \
|
#define BOOST_HASH_CALL_FLOAT_FUNC(cpp_func, c99_func, type1, type2) \
|
||||||
namespace BOOST_HASH_DETECT_FLOAT_FUNCTIONS { \
|
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 { \
|
namespace boost { \
|
||||||
|
Reference in New Issue
Block a user