mirror of
https://github.com/boostorg/function.git
synced 2026-01-25 08:22:22 +01:00
Add 'std:' qualification to size_t. Fixes Bug #6184
This commit is contained in:
@@ -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