Skip to content
Snippets Groups Projects
Commit 8315f991 authored by Brad King's avatar Brad King
Browse files

COMP: Fix for Sun CC stl allocator signature of allocate method.

parent afd0fd0c
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,11 @@ public:
{
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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment