summaryrefslogtreecommitdiff
path: root/Source/cmTargetDepend.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-07-30 12:38:24 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-07-30 12:38:30 +0200
commit4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch)
tree6c34e88cf1b2a6fde07c07508883fc1d8feff83e /Source/cmTargetDepend.h
parent473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff)
downloadcmake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetDepend.h b/Source/cmTargetDepend.h
index 5ea0085239..4ca78faa9a 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;
}