Make it:Originally Posted by yellowmat
Note the "const" at the end of function header.Qt Code:
bool CClassA::operator==(const CClassA& aca) const { return ( m_dAMember == aca.m_dAMember ); }To copy to clipboard, switch view to plain text mode
Bookmarks