diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:24 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:30 (GMT) |
commit | 4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch) | |
tree | 6c34e88cf1b2a6fde07c07508883fc1d8feff83e /Source/cmTargetDepend.h | |
parent | 473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff) | |
download | CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.zip CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.bz2 |
clang-tidy: Blacklist violations for version 8
Check the codebase with clang-tidy version 8, fix the low hanging
fruits, blacklist the rest.
Diffstat (limited to 'Source/cmTargetDepend.h')
-rw-r--r-- | Source/cmTargetDepend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetDepend.h b/Source/cmTargetDepend.h index 5ea0085..4ca78fa 100644 --- a/Source/cmTargetDepend.h +++ b/Source/cmTargetDepend.h @@ -31,7 +31,7 @@ public: operator cmGeneratorTarget const*() const { return this->Target; } cmGeneratorTarget const* operator->() const { return this->Target; } cmGeneratorTarget const& operator*() const { return *this->Target; } - friend bool operator<(cmTargetDepend l, cmTargetDepend r) + friend bool operator<(cmTargetDepend const& l, cmTargetDepend const& r) { return l.Target < r.Target; } |