mirror of
https://github.com/boostorg/container.git
synced 2025-07-31 21:14:30 +02:00
Fix WConversion warning for DetectMember_*
This commit is contained in:
@@ -80,7 +80,7 @@ namespace function_detector {
|
||||
template <class U> \
|
||||
static NotFoundType Test( ... ); \
|
||||
public : \
|
||||
BOOST_STATIC_CONSTEXPR int check = NotFound + (sizeof(Test<T>(0, 0)) - sizeof(NotFoundType));\
|
||||
BOOST_STATIC_CONSTEXPR int check = NotFound + int(sizeof(Test<T>(0, 0)) - sizeof(NotFoundType));\
|
||||
};\
|
||||
}}} //namespace boost::container::function_detector {
|
||||
|
||||
|
Reference in New Issue
Block a user