cmTargetDepend: pass by value

This commit is contained in:
Daniel Pfeifer committed 2017-04-22 00:48:19 +02:00
1 parent e6c606c7ba
commit 73bedfea38
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,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 const& l, cmTargetDepend const& r)
friend bool operator<(cmTargetDepend l, cmTargetDepend r)
{
return l.Target < r.Target;
}