mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
Added rsshared ptr helper object (only use in test for memory management)
Added first nxs_test modified pserviceserver to allow better dependency injection git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a929f80596
commit
ef8f48ae73
17 changed files with 340 additions and 86 deletions
|
@ -156,7 +156,7 @@ uint8_t RsItem::PacketType()
|
|||
}
|
||||
|
||||
|
||||
uint8_t RsItem::PacketSubType()
|
||||
uint8_t RsItem::PacketSubType() const
|
||||
{
|
||||
return (type & 0xFF);
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ RsItem::RsItem(uint8_t ver, uint16_t service, uint8_t subtype)
|
|||
return;
|
||||
}
|
||||
|
||||
uint16_t RsItem::PacketService()
|
||||
uint16_t RsItem::PacketService() const
|
||||
{
|
||||
return (type >> 8) & 0xFFFF;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue