summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetDepend.h
diff options
context:
space:
mode:
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 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;
}