1
0
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:
Daniel Pfeifer
2017-04-22 00:41:09 +02:00
parent e6c606c7ba
commit 73bedfea38

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;
}