Fix UnitTest compilation

But running failed.
This commit is contained in:
Phenom 2017-05-04 15:01:25 +02:00
parent cac335e7f6
commit 1c2b43b7e0
19 changed files with 37 additions and 20 deletions

View file

@ -156,6 +156,19 @@ void RsNxsGrp::clear()
meta.TlvClear();
}
RsNxsGrp* RsNxsGrp::clone() const {
RsNxsGrp* grp = new RsNxsGrp(this->grp.tlvtype);
*grp = *this;
if(this->metaData)
{
grp->metaData = new RsGxsGrpMetaData();
*(grp->metaData) = *(this->metaData);
}
return grp;
}
void RsNxsSyncGrpReqItem::clear()
{
flag = 0;