]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2374] Comments for end of unnamed namespaces
authorJelte Jansen <jelte@isc.org>
Mon, 26 Nov 2012 10:57:08 +0000 (11:57 +0100)
committerJelte Jansen <jelte@isc.org>
Mon, 26 Nov 2012 10:57:08 +0000 (11:57 +0100)
src/lib/dns/master_lexer.cc
src/lib/dns/tests/master_lexer_state_unittest.cc

index 20975448543cb5e900a44745e1e7ba6bfeced6cc..72220a7e6fa905abf1969140e5c0de3ca6d6107e 100644 (file)
@@ -30,7 +30,7 @@ namespace dns {
 
 namespace {
 typedef boost::shared_ptr<master_lexer_internal::InputSource> InputSourcePtr;
-}
+} // end unnamed namespace
 using namespace master_lexer_internal;
 
 struct MasterLexer::MasterLexerImpl {
@@ -160,7 +160,7 @@ const char* const error_text[] = {
     "unbalanced quotes"         // UNBALANCED_QUOTES
 };
 const size_t error_text_max_count = sizeof(error_text) / sizeof(error_text[0]);
-}
+} // end unnamed namespace
 
 std::string
 MasterLexer::Token::getErrorText() const {
@@ -252,7 +252,7 @@ const CRLF CRLF_STATE;
 const String STRING_STATE;
 const QString QSTRING_STATE;
 const Number NUMBER_STATE;
-}
+} // end unnamed namespace
 
 const State&
 State::getInstance(ID state_id) {
index e4d972ba869bb78a510eaba04ec846052e615a96..83ae7cbd0460d73567c21e98324d282d668d0a7b 100644 (file)
@@ -578,4 +578,5 @@ TEST_F(MasterLexerStateTest, stringNumbers) {
     EXPECT_EQ(Token::END_OF_FILE, s_crlf.getToken(lexer).getType());
 }
 
-}
+} // end anonymous namespace
+