mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +02:00
regex: some fixes for level 4 warnings under VC6
[SVN r8942]
This commit is contained in:
@ -237,7 +237,7 @@ void jm_debug_alloc::free_()
|
||||
}
|
||||
}
|
||||
|
||||
jm_debug_alloc::pointer jm_debug_alloc::allocate(size_type n, void* hint)
|
||||
jm_debug_alloc::pointer jm_debug_alloc::allocate(size_type n, void*)
|
||||
{
|
||||
pointer p = new char[n + maxi(sizeof(size_type), boost::re_detail::padding_size)];
|
||||
*(size_type*)p = n;
|
||||
|
Reference in New Issue
Block a user