Browse Source

Small style fixes

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac455@4075 e5f2f494-b856-4b98-b285-d166d9295462
Michal Vaner 14 years ago
parent
commit
f7148489a4
2 changed files with 6 additions and 4 deletions
  1. 6 3
      src/bin/auth/query.h
  2. 0 1
      src/bin/auth/tests/query_unittest.cc

+ 6 - 3
src/bin/auth/query.h

@@ -103,7 +103,9 @@ public:
     /// providing compatible behavior may have its own benefit, so this point
     /// should be revisited later.
     ///
-    /// This might throw BadZone or any of its specific subclasses.
+    /// This might throw BadZone or any of its specific subclasses, but that
+    /// shouldn't happen in real-life (as BadZone means wrong data, it should
+    /// have been rejected upon loading).
     void process() const;
 
     /// \short Bad zone data encountered.
@@ -115,7 +117,7 @@ public:
     struct BadZone : public isc::Exception {
         BadZone(const char* file, size_t line, const char* what) :
             Exception(file, line, what)
-        { }
+        {}
     };
 
     /// \short Zone is missing its SOA record.
@@ -125,7 +127,7 @@ public:
     struct NoSOA : public BadZone {
         NoSOA(const char* file, size_t line, const char* what) :
             BadZone(file, line, what)
-        { }
+        {}
     };
 
 private:
@@ -133,6 +135,7 @@ private:
     const isc::dns::Name& qname_;
     const isc::dns::RRType& qtype_;
     isc::dns::Message& response_;
+
     /**
      * \short Adds a SOA.
      *

+ 0 - 1
src/bin/auth/tests/query_unittest.cc

@@ -17,7 +17,6 @@
 #include <dns/rcode.h>
 #include <dns/rrttl.h>
 #include <dns/rrtype.h>
-#include <dns/rdataclass.h>
 
 #include <datasrc/memory_datasrc.h>