[svn] commit: r1106 - /trunk/src/lib/auth/cpp/query.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 4 00:57:19 UTC 2010
Author: jinmei
Date: Thu Mar 4 00:57:18 2010
New Revision: 1106
Log:
cleanup: removed redundant const declarations for passed-by-value
function parameters.
Modified:
trunk/src/lib/auth/cpp/query.h
Modified: trunk/src/lib/auth/cpp/query.h
==============================================================================
--- trunk/src/lib/auth/cpp/query.h (original)
+++ trunk/src/lib/auth/cpp/query.h Thu Mar 4 00:57:18 2010
@@ -125,25 +125,25 @@
const isc::dns::RRType& t, const isc::dns::Section& sect);
QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c,
const isc::dns::RRType& t, const isc::dns::Section& sect,
- const Op o);
+ Op o);
QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c,
const isc::dns::RRType& t, const isc::dns::Section& sect,
const State st);
QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c,
const isc::dns::RRType& t, const isc::dns::Section& sect,
- const Op o, const State st);
+ Op o, State st);
// These are special constructors for particular query task types,
// to simplify the code.
//
// A simple query doesn't need to specify section or state.
QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c,
- const isc::dns::RRType& t, const Op o);
+ const isc::dns::RRType& t, Op o);
// A referral query doesn't need to specify section, state, or type.
- QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c, const Op o);
+ QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c, Op o);
// A glue (or noglue) query doesn't need to specify type.
QueryTask(const isc::dns::Name& n, const isc::dns::RRClass& c,
- const isc::dns::Section& sect, const Op o, const State st);
+ const isc::dns::Section& sect, Op o, State st);
virtual ~QueryTask();
};
More information about the bind10-changes
mailing list