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

cleanup: made NameMatch non-copyable (no behavior change)

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent a1caa93a
......@@ -322,10 +322,19 @@ private:
class NameMatch {
/// \name Constructors, Assignment Operator and Destructor.
/// Note: The copy constructor and the assignment operator are intentionally
/// defined as private.
NameMatch(const NameMatch& source);
NameMatch& operator=(const NameMatch& source);
NameMatch(const isc::dns::Name& qname) :
closest_name_(NULL), best_source_(NULL), qname_(qname) {}
void update(const DataSrc& new_source, const isc::dns::Name& container);
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