BIND 10 trac2436, updated. 7174cca8bf02759d3947f2bdc5437e11c362d2a7 [2436] style fixes: naming convention; position of &; combine short lines
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jan 9 02:22:31 UTC 2013
The branch, trac2436 has been updated
via 7174cca8bf02759d3947f2bdc5437e11c362d2a7 (commit)
from 88a70cf0dcc476dd911e812eaca03e61274f81ac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7174cca8bf02759d3947f2bdc5437e11c362d2a7
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Jan 8 18:22:17 2013 -0800
[2436] style fixes: naming convention; position of &; combine short lines
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/tests/zone_loader_unittest.cc | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/zone_loader_unittest.cc b/src/lib/datasrc/tests/zone_loader_unittest.cc
index 81b4efd..7433c2f 100644
--- a/src/lib/datasrc/tests/zone_loader_unittest.cc
+++ b/src/lib/datasrc/tests/zone_loader_unittest.cc
@@ -96,15 +96,15 @@ public:
}
// We need to copy the RRset. We don't do it properly (we omit the
// signature, for example), because we don't need to.
- RRsetPtr newRRset(new isc::dns::BasicRRset(rrset.getName(),
- rrset.getClass(),
- rrset.getType(),
- rrset.getTTL()));
+ RRsetPtr new_rrset(new isc::dns::BasicRRset(rrset.getName(),
+ rrset.getClass(),
+ rrset.getType(),
+ rrset.getTTL()));
for (isc::dns::RdataIteratorPtr i(rrset.getRdataIterator());
!i->isLast(); i->next()) {
- newRRset->addRdata(i->getCurrent());
+ new_rrset->addRdata(i->getCurrent());
}
- client_->rrsets_.push_back(newRRset);
+ client_->rrsets_.push_back(new_rrset);
client_->rrset_texts_.push_back(rrset.toText());
}
virtual void deleteRRset(const isc::dns::AbstractRRset&) {
@@ -118,7 +118,7 @@ private:
class Finder : public ZoneFinder {
public:
Finder(const RRClass& rrclass, const Name& name,
- const vector<RRsetPtr> &rrsets) :
+ const vector<RRsetPtr>& rrsets) :
class_(rrclass),
name_(name),
rrsets_(rrsets)
@@ -139,8 +139,7 @@ private:
if (rrset->getName() == name && rrset->getType() == type) {
return (shared_ptr<Context>(
new GenericContext(*this, options,
- ResultContext(SUCCESS,
- rrset))));
+ ResultContext(SUCCESS, rrset))));
}
}
return (shared_ptr<Context>(
More information about the bind10-changes
mailing list