Fix WConversion warning for DetectMember_*

This commit is contained in:
Ion Gaztañaga
2024-08-22 11:42:29 +02:00
parent 74dfab45fc
commit 19a2f5ea95

View File

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