Add 'std:' qualification to size_t. Fixes Bug #6184

This commit is contained in:
Marshall Clow
2014-01-31 19:42:29 -08:00
parent ea19e9e745
commit 250655ad6d

View File

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