From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-02-14 19:01:27


Gottlob Frege wrote:

> On 2/14/07, Peter Dimov <pdimov_at_[hidden]> wrote:
>>
>> CBufferPtr buffer = *static_cast<CBufferPtr*>(result.Context());
>
> You might also need a const_cast in there, since Context() returns a
> const void *?

Make that

CBufferPtr buffer = *static_cast<CBufferPtr const*>(result.Context());