[svn] commit: r461 - /branches/jinmei-dnsrrparams/src/lib/dns/cpp/name.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jan 13 09:09:51 UTC 2010
Author: jinmei
Date: Wed Jan 13 09:09:50 2010
New Revision: 461
Log:
cleanup: removed redundant 'this'
Modified:
branches/jinmei-dnsrrparams/src/lib/dns/cpp/name.h
Modified: branches/jinmei-dnsrrparams/src/lib/dns/cpp/name.h
==============================================================================
--- branches/jinmei-dnsrrparams/src/lib/dns/cpp/name.h (original)
+++ branches/jinmei-dnsrrparams/src/lib/dns/cpp/name.h Wed Jan 13 09:09:50 2010
@@ -369,17 +369,17 @@
bool equals(const Name& other) const;
/// Same as equals()
- bool operator==(const Name& other) const { return (this->equals(other)); }
+ bool operator==(const Name& other) const { return (equals(other)); }
/// \brief Return true iff two names are not equal.
///
/// This method simply negates the result of \c equal() method, and in that
/// sense it's redundant. The separate method is provided just for
/// convenience.
- bool nequals(const Name& other) const { return !(this->equals(other)); }
+ bool nequals(const Name& other) const { return !(equals(other)); }
/// Same as nequals()
- bool operator!=(const Name& other) const { return (this->nequals(other)); }
+ bool operator!=(const Name& other) const { return (nequals(other)); }
/// \brief Less-than or equal comparison for Name against <code>other</code>
///
More information about the bind10-changes
mailing list