// function is such that often-used types such as A, AAAA, NS, SOA, MX,
// etc. are less than other types. See the code for the ordering.
int
-compareTypes(const RdataSet* a,
- const RdataSet* b) {
+compareTypes(const RdataSet* a, const RdataSet* b) {
// First RRType::A()
if (a->type == RRType::A()) {
return (-1);
struct NullRRset : public InvalidParameter {
NullRRset(const char* file, size_t line, const char* what) :
InvalidParameter(file, line, what)
- { }
+ {}
};
/// \brief Zone is empty exception.
struct EmptyZone : public InvalidParameter {
EmptyZone(const char* file, size_t line, const char* what) :
InvalidParameter(file, line, what)
- { }
+ {}
};
/// \brief General failure exception for \c add().
struct AddError : public InvalidParameter {
AddError(const char* file, size_t line, const char* what) :
InvalidParameter(file, line, what)
- { }
+ {}
};
void add(const isc::dns::ConstRRsetPtr& rrset,