Utils::now() removal and a bunch of compile fixes.
This commit is contained in:
parent
ee2f51f48e
commit
bf2ff964e1
9 changed files with 67 additions and 49 deletions
|
@ -74,11 +74,12 @@ public:
|
|||
* @param len Packet length
|
||||
* @param remoteAddress Address from which packet came
|
||||
* @param linkDesperation Link desperation for link over which packet was received
|
||||
* @param now Current time
|
||||
* @throws std::out_of_range Range error processing packet
|
||||
*/
|
||||
IncomingPacket(const void *data,unsigned int len,const InetAddress &remoteAddress,unsigned int linkDesperation) :
|
||||
IncomingPacket(const void *data,unsigned int len,const InetAddress &remoteAddress,unsigned int linkDesperation,uint64_t now) :
|
||||
Packet(data,len),
|
||||
_receiveTime(Utils::now()),
|
||||
_receiveTime(now),
|
||||
_remoteAddress(remoteAddress),
|
||||
_linkDesperation(linkDesperation),
|
||||
__refCount()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue