From 9311dc59222ca93df29ebc9a11efe678f2582d2a Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 31 Oct 2014 21:18:52 +0000 Subject: [PATCH] removed unused comparison operators git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7650 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/serialiser/rsgxsitems.cc | 47 ---------------------- 1 file changed, 47 deletions(-) diff --git a/libretroshare/src/serialiser/rsgxsitems.cc b/libretroshare/src/serialiser/rsgxsitems.cc index ed3223299..49f6990c2 100644 --- a/libretroshare/src/serialiser/rsgxsitems.cc +++ b/libretroshare/src/serialiser/rsgxsitems.cc @@ -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 << " ]";