Commit f7148489 authored by Michal Vaner's avatar Michal Vaner
Browse files

Small style fixes

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac455@4075 e5f2f494-b856-4b98-b285-d166d9295462
parent ad3f6dc0
......@@ -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.
*
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment