Browse Source

[2155] call reset() instead of initializer

Yoshitaka Aharen 12 years ago
parent
commit
88259891ae
1 changed files with 3 additions and 10 deletions
  1. 3 10
      src/bin/auth/statistics.h

+ 3 - 10
src/bin/auth/statistics.h

@@ -62,16 +62,9 @@ public:
     /// This constructor is mostly exception free. But it may still throw
     /// a standard exception if memory allocation fails inside the method.
     ///
-    QRAttributes() :
-    req_ip_version_(0), req_transport_protocol_(0),
-    req_opcode_(0),
-    req_is_edns_0_(false), req_is_edns_badver_(false),
-    req_is_dnssec_ok_(false),
-    req_is_tsig_(false), req_is_sig0_(false), req_is_badsig_(false),
-    zone_origin_(),
-    answer_sent_(false),
-    res_is_truncated_(false)
-    {};
+    QRAttributes() {
+        reset();
+    };
 
     /// The destructor.
     ///