]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2428] Put internal exception to anonymous namespace
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 13 Dec 2012 11:09:17 +0000 (12:09 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 13 Dec 2012 11:09:17 +0000 (12:09 +0100)
src/lib/dns/master_loader.cc

index f31d9bfc09484406c9932da699133809dcc0d62d..9a7f1ee3d9a7d9b6e6365a07f87b237dd93dc5e1 100644 (file)
@@ -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,