Fix WConversion warning for DetectMember_*

This commit is contained in:
Ion Gaztañaga committed 2024-08-22 11:42:29 +02:00
1 parent 74dfab45fc
commit 19a2f5ea95
1 file changed
+1 -1
@@ -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 {