Browse Source

cleanup: removed redundant const declarations for passed-by-value
function parameters.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1106 e5f2f494-b856-4b98-b285-d166d9295462

JINMEI Tatuya 15 years ago
parent
commit
c2b9627fc0
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/lib/auth/cpp/query.h

+ 5 - 5
src/lib/auth/cpp/query.h

@@ -125,25 +125,25 @@ public:
               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();
 };