forked from boostorg/function
Add 'std:' qualification to size_t. Fixes Bug #6184
This commit is contained in:
1 parent
ea19e9e745
commit
250655ad6d
1 file changed
+1
-1
@@ -938,7 +938,7 @@ namespace boost {
|
||||
if (boost::has_trivial_copy_constructor<Functor>::value &&
|
||||
boost::has_trivial_destructor<Functor>::value &&
|
||||
detail::function::function_allows_small_object_optimization<Functor>::value)
|
||||
value |= static_cast<size_t>(0x01);
|
||||
value |= static_cast<std::size_t>(0x01);
|
||||
vtable = reinterpret_cast<detail::function::vtable_base *>(value);
|
||||
} else
|
||||
vtable = 0;
|
||||
|
||||
Reference in new issue
Block a user