Browse Source

consitify

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1402 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
86539039e9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/auth/data_source.h

+ 3 - 3
src/lib/auth/data_source.h

@@ -338,9 +338,9 @@ public:
 
     void update(const DataSrc& new_source, const isc::dns::Name& container);
 
-    const isc::dns::Name& qname() { return (qname_); }
-    const isc::dns::Name* closestName() { return (closest_name_); }
-    const DataSrc* bestDataSrc() { return (best_source_); }
+    const isc::dns::Name& qname() const { return (qname_); }
+    const isc::dns::Name* closestName() const { return (closest_name_); }
+    const DataSrc* bestDataSrc() const { return (best_source_); }
 
 private:
     const isc::dns::Name* closest_name_;