mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-19 01:48:56 +08:00
[raknet] Match RakNetStatisticsStruct::operator+=
This commit is contained in:
@ -122,7 +122,7 @@ struct RAK_DLL_EXPORT RakNetStatisticsStruct
|
|||||||
unsigned field_120;
|
unsigned field_120;
|
||||||
unsigned field_124;
|
unsigned field_124;
|
||||||
|
|
||||||
RakNetStatisticsStruct operator +=(const RakNetStatisticsStruct& other)
|
void operator +=(const RakNetStatisticsStruct& other)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
for (i=0; i < NUMBER_OF_PRIORITIES; i++)
|
for (i=0; i < NUMBER_OF_PRIORITIES; i++)
|
||||||
@ -163,8 +163,6 @@ struct RAK_DLL_EXPORT RakNetStatisticsStruct
|
|||||||
duplicateMessagesReceived+=other.duplicateMessagesReceived;
|
duplicateMessagesReceived+=other.duplicateMessagesReceived;
|
||||||
messagesWaitingForReassembly+=other.messagesWaitingForReassembly;
|
messagesWaitingForReassembly+=other.messagesWaitingForReassembly;
|
||||||
internalOutputQueueSize+=other.internalOutputQueueSize;
|
internalOutputQueueSize+=other.internalOutputQueueSize;
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user