mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
cmTargetDepend: pass by value
This commit is contained in:
@@ -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