Browse Source

[1177] more constify

JINMEI Tatuya 13 years ago
parent
commit
688867daa3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/datasrc/database.cc

+ 2 - 2
src/lib/datasrc/database.cc

@@ -357,8 +357,8 @@ DatabaseClient::Finder::findNSECCover(const Name& name) {
         // Which one should contain the NSEC record?
         // Which one should contain the NSEC record?
         const Name coverName(findPreviousName(name));
         const Name coverName(findPreviousName(name));
         // Get the record and copy it out
         // Get the record and copy it out
-        FoundRRsets found = getRRsets(coverName.toText(), NSEC_TYPES(),
-                                      coverName != getOrigin());
+        const FoundRRsets found = getRRsets(coverName.toText(), NSEC_TYPES(),
+                                            coverName != getOrigin());
         const FoundIterator
         const FoundIterator
             nci(found.second.find(RRType::NSEC()));
             nci(found.second.find(RRType::NSEC()));
         if (nci != found.second.end()) {
         if (nci != found.second.end()) {