forked from qt-creator/qt-creator
CppCheck: Tr::tr and code cosmetics
Change-Id: I5e6583984f7dc94e998df3c20840f2ba2e801ab8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user