Fix WConversion warning for DetectMember_*

This commit is contained in:
Ion Gaztañaga
2024-08-22 11:31:18 +02:00
parent ab7ee83d8c
commit 4c87c9b49f

View File

@ -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 {