Commit c199bfce authored by JINMEI Tatuya's avatar JINMEI Tatuya

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


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1396 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.
private:
NameMatch(const NameMatch& source);
NameMatch& operator=(const NameMatch& source);
public:
NameMatch(const isc::dns::Name& qname) :
closest_name_(NULL), best_source_(NULL), qname_(qname) {}
~NameMatch();
//@}
void update(const DataSrc& new_source, const isc::dns::Name& container);
......
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