From: Mukund Sivaraman Date: Tue, 4 Feb 2014 21:48:17 +0000 (+0530) Subject: [2536] Remove "using namespace" from headers (last remnant) X-Git-Tag: bind10-1.2.0beta1-release~56^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b29cdb4be35f2e601a6ea962a9b0c056ff59e4b;p=thirdparty%2Fkea.git [2536] Remove "using namespace" from headers (last remnant) The daemons have been exorcised. This codebase is now clean. --- diff --git a/src/lib/dhcp/std_option_defs.h b/src/lib/dhcp/std_option_defs.h index 6611f199e6..31723c164a 100644 --- a/src/lib/dhcp/std_option_defs.h +++ b/src/lib/dhcp/std_option_defs.h @@ -19,6 +19,9 @@ #include #include +namespace isc { +namespace dhcp { + namespace { /// @brief Declare an array holding parameters used to create instance @@ -42,8 +45,6 @@ namespace { #define NO_RECORD_DEF 0, 0 #endif -using namespace isc::dhcp; - /// @brief Parameters being used to make up an option definition. struct OptionDefParams { const char* name; // option name @@ -332,6 +333,9 @@ const OptionDefParams OPTION_DEF_PARAMS6[] = { const int OPTION_DEF_PARAMS_SIZE6 = sizeof(OPTION_DEF_PARAMS6) / sizeof(OPTION_DEF_PARAMS6[0]); -}; // anonymous namespace +} // unnamed namespace + +} // namespace dhcp +} // namespace isc #endif // STD_OPTION_DEFS_H