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