mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
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:
parent
39e123dbf2
commit
9311dc5922
@ -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 << " ]";
|
||||
|
Loading…
Reference in New Issue
Block a user