[svn] commit: r3009 - /trunk/src/lib/dns/rrset.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Sep 23 14:47:35 UTC 2010
Author: jinmei
Date: Thu Sep 23 14:47:34 2010
New Revision: 3009
Log:
cleanup: removed redundant this pointers
should be trivial, skipping review.
Modified:
trunk/src/lib/dns/rrset.h
Modified: trunk/src/lib/dns/rrset.h
==============================================================================
--- trunk/src/lib/dns/rrset.h (original)
+++ trunk/src/lib/dns/rrset.h Thu Sep 23 14:47:34 2010
@@ -692,8 +692,8 @@
/// \brief Adds an RRSIG RR to this RRset's signatures
virtual void addRRsig(const rdata::RdataPtr rdata) {
if (!rrsig_) {
- rrsig_ = RRsetPtr(new RRset(this->getName(), this->getClass(),
- RRType::RRSIG(), this->getTTL()));
+ rrsig_ = RRsetPtr(new RRset(getName(), getClass(),
+ RRType::RRSIG(), getTTL()));
}
rrsig_->addRdata(rdata);
}
@@ -703,8 +703,8 @@
RdataIteratorPtr it = sigs.getRdataIterator();
if (!rrsig_) {
- rrsig_ = RRsetPtr(new RRset(this->getName(), this->getClass(),
- RRType::RRSIG(), this->getTTL()));
+ rrsig_ = RRsetPtr(new RRset(getName(), getClass(),
+ RRType::RRSIG(), getTTL()));
}
for (it->first(); !it->isLast(); it->next()) {
More information about the bind10-changes
mailing list