From: Marcin Siodelski Date: Fri, 27 Apr 2018 09:06:23 +0000 (+0200) Subject: [5458] Dhcp6Hooks declaration is back in anonymous namespace. X-Git-Tag: trac5488_base~2^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b218a7cf3efe4b7b28f5a8d01df47ebdc32eddd;p=thirdparty%2Fkea.git [5458] Dhcp6Hooks declaration is back in anonymous namespace. --- diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index 41a6340e06..473039ba55 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/src/bin/dhcp6/dhcp6_srv.cc @@ -117,16 +117,12 @@ struct Dhcp6Hooks { } }; -} // end of anonymous namespace - // Declare a Hooks object. As this is outside any function or method, it // will be instantiated (and the constructor run) when the module is loaded. // As a result, the hook indexes will be defined before any method in this // module is called. Dhcp6Hooks Hooks; -namespace { - /// @brief Creates instance of the Status Code option. /// /// This variant of the function is used when the Status Code option