Browse Source

[1068] made RRSIG::typeCovered() a const member function.
not directly related to this branch, but it's the right thing.

JINMEI Tatuya 13 years ago
parent
commit
a7fe0d5982
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/dns/rdata/generic/rrsig_46.cc
  2. 1 1
      src/lib/dns/rdata/generic/rrsig_46.h

+ 1 - 1
src/lib/dns/rdata/generic/rrsig_46.cc

@@ -244,7 +244,7 @@ RRSIG::compare(const Rdata& other) const {
 }
 
 const RRType&
-RRSIG::typeCovered() {
+RRSIG::typeCovered() const {
     return (impl_->covered_);
 }
 

+ 1 - 1
src/lib/dns/rdata/generic/rrsig_46.h

@@ -40,7 +40,7 @@ public:
     ~RRSIG();
 
     // specialized methods
-    const RRType& typeCovered();
+    const RRType& typeCovered() const;
 private:
     RRSIGImpl* impl_;
 };