Commit 0bcbba63 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

pass by reference, not an object, to avoid unnecessary copy

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 0dd0a98e
......@@ -82,7 +82,7 @@ public:
const RRClass& rrclass = RRClass::IN());
RRsetPtr findRRset(ConstRRsetPtr rrsetptr);
RRsetPtr operator[](RRType t) { return (this->findRRset(t)); }
RRsetPtr operator[](const RRType& t) { return (this->findRRset(t)); }
typedef RRsetListIterator<std::vector<RRsetPtr>::iterator,
Supports Markdown
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