From: Yoshitaka Aharen Date: Wed, 26 Dec 2012 10:07:21 +0000 (+0900) Subject: [2157] remove using declaration from statistics.h X-Git-Tag: bind10-1.1.0beta1-release~85^2~5^2~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7eb39cf5f50a31ccd80d6373074301f5caeb088c;p=thirdparty%2Fkea.git [2157] remove using declaration from statistics.h --- diff --git a/src/bin/auth/statistics.h b/src/bin/auth/statistics.h index 8e30519b06..ac098aeb56 100644 --- a/src/bin/auth/statistics.h +++ b/src/bin/auth/statistics.h @@ -33,8 +33,6 @@ namespace isc { namespace auth { namespace statistics { -using isc::dns::Opcode; - /// \brief DNS Message attributes for statistics. /// /// This class holds some attributes related to a DNS message @@ -56,9 +54,9 @@ public: }; private: // request attributes - IPVersion req_ip_version_; // IP version - TransportProtocol req_transport_protocol_; // Transport layer protocol - boost::optional req_opcode_; // OpCode + IPVersion req_ip_version_; // IP version + TransportProtocol req_transport_protocol_; // Transport layer protocol + boost::optional req_opcode_; // OpCode enum BitAttributes { REQ_IS_EDNS_0, // request is EDNS ver.0 REQ_IS_DNSSEC_OK, // DNSSEC OK (DO) bit is set in request @@ -82,7 +80,7 @@ public: /// \brief Return request opcode. /// \return opcode of the request /// \throw isc::InvalidOperation Opcode is not set - const Opcode& getRequestOpCode() const { + const isc::dns::Opcode& getRequestOpCode() const { if (req_opcode_) { return (req_opcode_.get()); } else { @@ -93,7 +91,7 @@ public: /// \brief Set request opcode. /// \param opcode Opcode of the request /// \throw None - void setRequestOpCode(const Opcode& opcode) { + void setRequestOpCode(const isc::dns::Opcode& opcode) { req_opcode_ = opcode; }