COMP: Fix for Sun CC stl allocator signature of allocate method.
This commit is contained in:
parent
81f7bc9cdb
commit
5bebcea6e7
|
@ -101,7 +101,11 @@ public:
|
||||||
{
|
{
|
||||||
if(n)
|
if(n)
|
||||||
{
|
{
|
||||||
return static_cast<pointer>(static_cast<void*>(alloc_.allocate(n*chunk(), hint)));
|
typedef kwsys_stl::allocator<void>::pointer void_pointer;
|
||||||
|
return
|
||||||
|
static_cast<pointer>(
|
||||||
|
static_cast<void*>(
|
||||||
|
alloc_.allocate(n*chunk(), const_cast<void_pointer>(hint))));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue