mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-08 23:12:52 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
+2
-2
@@ -64,7 +64,7 @@ class UdpReliableChannel
|
||||
void ProcessPacket(ReliablePacketMode mode, const udp_uchar *data, int dataLen);
|
||||
bool PullDown(int windowSpaceLeft);
|
||||
void FlushCoalesce();
|
||||
void SendCoalesce(const udp_uchar *data, int dataLen, const udp_uchar *data2 = NULL, int dataLen2 = 0);
|
||||
void SendCoalesce(const udp_uchar *data, int dataLen, const udp_uchar *data2 = nullptr, int dataLen2 = 0);
|
||||
void QueueLogicalPacket(LogicalPacket *packet);
|
||||
|
||||
UdpReliableConfig mConfig;
|
||||
@@ -138,7 +138,7 @@ inline int UdpReliableChannel::TotalPendingBytes() const
|
||||
|
||||
inline void UdpReliableChannel::ClearBufferedAck()
|
||||
{
|
||||
mBufferedAckPtr = NULL;
|
||||
mBufferedAckPtr = nullptr;
|
||||
}
|
||||
|
||||
inline udp_int64 UdpReliableChannel::GetReliableOutgoingId(int reliableStamp) const
|
||||
|
||||
Reference in New Issue
Block a user