[zeromq-dev] [PATCH] decoder asserts
Martin Sustrik
sustrik at 250bpm.com
Wed Oct 27 11:38:54 CEST 2010
On 10/27/2010 11:26 AM, Christian Gudrian wrote:
> Am 21.10.2010 08:17, schrieb Dhammika Pathirana:
>
>> if (unlikely (!(static_cast<T*> (this)->next)))
>> return (size_t) -1;
>
> To make this code compile under C++Builder 2010 I need to remove the
> static_cast so that it reads
>
> if (unlikely (!next))
>
> otherwise the compiler complains that the next member was not accessible.
>
> Removing the cast should not do any harm, should it?
No, it should not.
Martin
More information about the zeromq-dev
mailing list