[svn] commit: r1396 - /trunk/src/lib/auth/data_source.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Mar 14 19:52:19 UTC 2010
Author: jinmei
Date: Sun Mar 14 19:52:18 2010
New Revision: 1396
Log:
cleanup: made NameMatch non-copyable (no behavior change)
Modified:
trunk/src/lib/auth/data_source.h
Modified: trunk/src/lib/auth/data_source.h
==============================================================================
--- trunk/src/lib/auth/data_source.h (original)
+++ trunk/src/lib/auth/data_source.h Sun Mar 14 19:52:18 2010
@@ -322,10 +322,19 @@
};
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);
More information about the bind10-changes
mailing list