From: Michal 'vorner' Vaner Date: Thu, 13 Dec 2012 11:09:17 +0000 (+0100) Subject: [2428] Put internal exception to anonymous namespace X-Git-Tag: bind10-1.0.0-beta-release~24^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58664e2ecc10b71b6ce0126ccf8c5f336f7cd380;p=thirdparty%2Fkea.git [2428] Put internal exception to anonymous namespace --- diff --git a/src/lib/dns/master_loader.cc b/src/lib/dns/master_loader.cc index f31d9bfc09..9a7f1ee3d9 100644 --- a/src/lib/dns/master_loader.cc +++ b/src/lib/dns/master_loader.cc @@ -31,6 +31,8 @@ using boost::algorithm::iequals; namespace isc { namespace dns { +namespace { + // An internal exception, used to control the code flow in case of errors. // It is thrown during the loading and caught later, not to be propagated // outside of the file. @@ -41,6 +43,8 @@ public: {} }; +} + class MasterLoader::MasterLoaderImpl { public: MasterLoaderImpl(const char* master_file,