Browse Source

[2268] minor editorial fixes: spacing, combining two short lines

JINMEI Tatuya 12 years ago
parent
commit
247cb9c1d6

+ 1 - 2
src/lib/datasrc/memory/zone_data_updater.cc

@@ -34,8 +34,7 @@ namespace { // anonymous namespace
 // 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);

+ 3 - 3
src/lib/datasrc/memory/zone_data_updater.h

@@ -50,7 +50,7 @@ public:
     struct NullRRset : public InvalidParameter {
         NullRRset(const char* file, size_t line, const char* what) :
             InvalidParameter(file, line, what)
-        { }
+        {}
     };
 
     /// \brief Zone is empty exception.
@@ -60,7 +60,7 @@ public:
     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().
@@ -75,7 +75,7 @@ public:
     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,