Same fix, in-line style

This commit is contained in:
Victor Perron 2012-11-30 22:16:20 +01:00
parent 33f42efb48
commit 3fc8c7073d

View File

@ -149,7 +149,7 @@ namespace zmq
bool stalled ()
{
// Check whether there was decoding error.
if (unlikely (static_cast <T*> (this)->next == 0))
if (unlikely (!(static_cast <T*> (this)->next)))
return false;
while (!to_read) {