removed unused comparison operators

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-10-31 21:18:52 +00:00
parent 39e123dbf2
commit 9311dc5922

View File

@ -53,53 +53,6 @@
this->mParentGrpId = rGxsMeta.mParentGrpId;
}
bool RsGroupMetaData::operator ==(const RsGroupMetaData& rGxsMeta)
{
return ( this->mGroupId == rGxsMeta.mGroupId
&& this->mGroupName == rGxsMeta.mGroupName
&& this->mGroupFlags == rGxsMeta.mGroupFlags
&& this->mSignFlags == rGxsMeta.mSignFlags
&& this->mPublishTs == rGxsMeta.mPublishTs
&& this->mAuthorId == rGxsMeta.mAuthorId
&& this->mCircleId == rGxsMeta.mCircleId
&& this->mCircleType == rGxsMeta.mCircleType
&& this->mAuthenFlags == rGxsMeta.mAuthenFlags
&& this->mParentGrpId == rGxsMeta.mParentGrpId
&& this->mSubscribeFlags == rGxsMeta.mSubscribeFlags
&& this->mPop == rGxsMeta.mPop
&& this->mMsgCount == rGxsMeta.mMsgCount
&& this->mLastPost == rGxsMeta.mLastPost
&& this->mGroupStatus == rGxsMeta.mGroupStatus
&& this->mServiceString == rGxsMeta.mServiceString
&& this->mOriginator == rGxsMeta.mOriginator
&& this->mInternalCircle == rGxsMeta.mInternalCircle
);
}
bool RsGroupMetaData::operator !=(const RsGroupMetaData &rGxsMeta)
{
return ( this->mGroupId != rGxsMeta.mGroupId
|| this->mGroupName != rGxsMeta.mGroupName
|| this->mGroupFlags != rGxsMeta.mGroupFlags
|| this->mSignFlags != rGxsMeta.mSignFlags
|| this->mPublishTs != rGxsMeta.mPublishTs
|| this->mAuthorId != rGxsMeta.mAuthorId
|| this->mCircleId != rGxsMeta.mCircleId
|| this->mCircleType != rGxsMeta.mCircleType
|| this->mAuthenFlags != rGxsMeta.mAuthenFlags
|| this->mParentGrpId != rGxsMeta.mParentGrpId
|| this->mSubscribeFlags != rGxsMeta.mSubscribeFlags
|| this->mPop != rGxsMeta.mPop
|| this->mMsgCount != rGxsMeta.mMsgCount
|| this->mLastPost != rGxsMeta.mLastPost
|| this->mGroupStatus != rGxsMeta.mGroupStatus
|| this->mServiceString != rGxsMeta.mServiceString
|| this->mOriginator != rGxsMeta.mOriginator
|| this->mInternalCircle != rGxsMeta.mInternalCircle
);
}
std::ostream &operator<<(std::ostream &out, const RsGroupMetaData &meta)
{
out << "[ GroupId: " << meta.mGroupId << " Name: " << meta.mGroupName << " ]";