mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
cmTargetDepend: pass by value
This commit is contained in:
1 parent
e6c606c7ba
commit
73bedfea38
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user