Merge pull request #798 from PhenomRetroShare/Fix_TravisCompilation

Fix UnitTest compilation
This commit is contained in:
csoler 2017-05-05 23:04:28 +02:00 committed by GitHub
commit e4dde95621
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;