Commit 39737389 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

findRRset(type/class version): we don't need to extract the bare pointer.

cleaned it up.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1011 e5f2f494-b856-4b98-b285-d166d9295462
parent e5d9ebdd
......@@ -55,8 +55,8 @@ const RRsetPtr
RRsetList::findRRset(const RRType& rrtype, const RRClass& rrclass)
{
BOOST_FOREACH(const RRsetPtr rrsetptr, rrsets_) {
const AbstractRRset* rrset = rrsetptr.get();
if ((rrset->getClass() == rrclass) && (rrset->getType() == rrtype)) {
if ((rrsetptr->getClass() == rrclass) &&
(rrsetptr->getType() == rrtype)) {
return rrsetptr;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment