From 7c69e03ba2fb07ccac0b088331dae02216d37cba Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 30 May 2020 20:06:00 -0700 Subject: c++: Add closing namespace comment [clang-tidy] Found with google-readability-namespace-comments Signed-off-by: Rosen Penev --- src/Array.cpp | 2 +- src/Boolean.cpp | 2 +- src/Data.cpp | 2 +- src/Date.cpp | 2 +- src/Dictionary.cpp | 2 +- src/Integer.cpp | 2 +- src/Key.cpp | 2 +- src/Node.cpp | 2 +- src/Real.cpp | 2 +- src/String.cpp | 2 +- src/Structure.cpp | 2 +- src/Uid.cpp | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Array.cpp b/src/Array.cpp index d5d9d7c..4f34e58 100644 --- a/src/Array.cpp +++ b/src/Array.cpp @@ -145,4 +145,4 @@ unsigned int Array::GetNodeIndex(Node* node) const return std::distance (_array.begin(), it); } -}; +} // namespace PList diff --git a/src/Boolean.cpp b/src/Boolean.cpp index 4608eaf..35f2a57 100644 --- a/src/Boolean.cpp +++ b/src/Boolean.cpp @@ -70,4 +70,4 @@ bool Boolean::GetValue() const return b != 0 ; } -}; +} // namespace PList diff --git a/src/Data.cpp b/src/Data.cpp index 2e93007..11439d3 100644 --- a/src/Data.cpp +++ b/src/Data.cpp @@ -76,4 +76,4 @@ std::vector Data::GetValue() const -}; +} // namespace PList diff --git a/src/Date.cpp b/src/Date.cpp index 4b5e0a1..87e8a50 100644 --- a/src/Date.cpp +++ b/src/Date.cpp @@ -73,4 +73,4 @@ timeval Date::GetValue() const return t; } -}; +} // namespace PList diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 59908c6..4fd73ef 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp @@ -179,4 +179,4 @@ std::string Dictionary::GetNodeKey(Node* node) return ""; } -}; +} // namespace PList diff --git a/src/Integer.cpp b/src/Integer.cpp index 04315d7..e357f72 100644 --- a/src/Integer.cpp +++ b/src/Integer.cpp @@ -70,4 +70,4 @@ uint64_t Integer::GetValue() const return i; } -}; +} // namespace PList diff --git a/src/Key.cpp b/src/Key.cpp index ed0c0c6..2e92f20 100644 --- a/src/Key.cpp +++ b/src/Key.cpp @@ -77,4 +77,4 @@ std::string Key::GetValue() const return ret; } -}; +} // namespace PList diff --git a/src/Node.cpp b/src/Node.cpp index 3da401e..51ecd75 100644 --- a/src/Node.cpp +++ b/src/Node.cpp @@ -163,4 +163,4 @@ Node* Node::FromPlist(plist_t node, Node* parent) return ret; } -}; +} // namespace PList diff --git a/src/Real.cpp b/src/Real.cpp index ec300c9..4587701 100644 --- a/src/Real.cpp +++ b/src/Real.cpp @@ -70,4 +70,4 @@ double Real::GetValue() const return d; } -}; +} // namespace PList diff --git a/src/String.cpp b/src/String.cpp index 0965349..7bc3abc 100644 --- a/src/String.cpp +++ b/src/String.cpp @@ -77,4 +77,4 @@ std::string String::GetValue() const return ret; } -}; +} // namespace PList diff --git a/src/Structure.cpp b/src/Structure.cpp index 70150c2..a06618d 100644 --- a/src/Structure.cpp +++ b/src/Structure.cpp @@ -119,5 +119,5 @@ Structure* Structure::FromBin(const std::vector& bin) } -}; +} // namespace PList diff --git a/src/Uid.cpp b/src/Uid.cpp index 440dec4..6456dce 100644 --- a/src/Uid.cpp +++ b/src/Uid.cpp @@ -70,4 +70,4 @@ uint64_t Uid::GetValue() const return i; } -}; +} // namespace PList -- cgit v1.1-32-gdbae