]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1914] Unrelated cleanup: removed extra anonymous namespace
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 17 May 2012 11:07:46 +0000 (13:07 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 17 May 2012 11:07:46 +0000 (13:07 +0200)
There was an anonymous namespace inside another anonymous namespace.
This brings no further advantage and is just confusing, so it got
removed.

src/lib/config/tests/ccsession_unittests.cc

index abaff8e95df01b500bed661405554e718b1af8e1..55f1f0d6bf5d1506e4ba801a0daddb4bf881545b 100644 (file)
@@ -709,13 +709,11 @@ TEST_F(CCSessionTest, doubleStartWithAddRemoteConfig) {
                  FakeSession::DoubleRead);
 }
 
-namespace {
 void doRelatedLoggersTest(const char* input, const char* expected) {
     ConstElementPtr all_conf = isc::data::Element::fromJSON(input);
     ConstElementPtr expected_conf = isc::data::Element::fromJSON(expected);
     EXPECT_EQ(*expected_conf, *isc::config::getRelatedLoggers(all_conf));
 }
-} // end anonymous namespace
 
 TEST(LogConfigTest, relatedLoggersTest) {
     // make sure logger configs for 'other' programs are ignored,