Skip to content

Commit

Permalink
fix for "Smart pointers now use explicit operator bool on C++11 compi…
Browse files Browse the repository at this point in the history
…lers" in boost 1.53.0

fixes #3764
  • Loading branch information
Johan Rehnberg committed May 1, 2013
1 parent f27a865 commit bdc775a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Game/GameServer.cpp
Expand Up @@ -1798,7 +1798,7 @@ void CGameServer::ServerReadNet()
bool bwLimitIsReached = globalConfig->linkIncomingPeakBandwidth > 0 && bandwidthUsage > globalConfig->linkIncomingPeakBandwidth;
while (link) {
if (dropPacket)
dropPacket = (packet = link->Peek(globalConfig->linkIncomingMaxWaitingPackets));
dropPacket = (NULL != (packet = link->Peek(globalConfig->linkIncomingMaxWaitingPackets)));
packet = (!bwLimitIsReached || dropPacket) ? link->GetData() : link->Peek(ahead++);
if (!packet)
break;
Expand Down

0 comments on commit bdc775a

Please sign in to comment.