From 0a0dd9ea31d03fcc57f51de724c32e8ca3fe3d3f Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 9 Jan 2023 18:08:30 +0100 Subject: CppCheck: Tr::tr and code cosmetics Change-Id: I5e6583984f7dc94e998df3c20840f2ba2e801ab8 Reviewed-by: Alessandro Portale --- src/plugins/cppcheck/cppcheckdiagnostic.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/cppcheck/cppcheckdiagnostic.cpp') diff --git a/src/plugins/cppcheck/cppcheckdiagnostic.cpp b/src/plugins/cppcheck/cppcheckdiagnostic.cpp index 9d3128673c..d16c7b06e2 100644 --- a/src/plugins/cppcheck/cppcheckdiagnostic.cpp +++ b/src/plugins/cppcheck/cppcheckdiagnostic.cpp @@ -3,8 +3,7 @@ #include "cppcheckdiagnostic.h" -namespace Cppcheck { -namespace Internal { +namespace Cppcheck::Internal { bool Diagnostic::operator==(const Diagnostic &r) const { @@ -16,5 +15,5 @@ size_t qHash(const Diagnostic &diagnostic) { return qHash(diagnostic.message) ^ qHash(diagnostic.fileName) ^ diagnostic.lineNumber; } -} // namespace Internal + } // namespace Cppcheck -- cgit v1.2.1