emailservices/nmclientapi/src/nmapimessagebody.cpp
changeset 76 38bf5461e270
parent 48 10eaf342f539
equal deleted inserted replaced
74:6c59112cfd31 76:38bf5461e270
    44  */
    44  */
    45 NmApiMessageBody& NmApiMessageBody::operator=(const NmApiMessageBody &apiMessageBody)
    45 NmApiMessageBody& NmApiMessageBody::operator=(const NmApiMessageBody &apiMessageBody)
    46 {
    46 {
    47     NM_FUNCTION;
    47     NM_FUNCTION;
    48     
    48     
    49 	if (this != &apiMessageBody) 
    49 	if (this != &apiMessageBody) {
    50 	{
       
    51 		d = apiMessageBody.d;
    50 		d = apiMessageBody.d;
    52 	}
    51 	}
    53 	return *this;
    52 	return *this;
    54 }
    53 }
    55 
    54 
    59 bool NmApiMessageBody::operator==(const NmApiMessageBody &apiMessageBody)
    58 bool NmApiMessageBody::operator==(const NmApiMessageBody &apiMessageBody)
    60 {
    59 {
    61     NM_FUNCTION;
    60     NM_FUNCTION;
    62     
    61     
    63     bool retVal = false;
    62     bool retVal = false;
    64     if (this->d == apiMessageBody.d)
    63     if (this->d == apiMessageBody.d) {
    65     {
       
    66         retVal = true;
    64         retVal = true;
    67     }
    65     }
    68     return retVal;
    66     return retVal;
    69 }
    67 }
    70 
    68