diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 22:41:09 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 22:48:19 (GMT) |
commit | 73bedfea3871235ba842979625053f706d9dcd49 (patch) | |
tree | 7963ae539abf6f6ece0c35788089f8091878da13 /Source | |
parent | e6c606c7ba0ab1f9649de6a93aed5f98237276db (diff) | |
download | CMake-73bedfea3871235ba842979625053f706d9dcd49.zip CMake-73bedfea3871235ba842979625053f706d9dcd49.tar.gz CMake-73bedfea3871235ba842979625053f706d9dcd49.tar.bz2 |
cmTargetDepend: pass by value
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmTargetDepend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetDepend.h b/Source/cmTargetDepend.h index 1839923..daa902e 100644 --- a/Source/cmTargetDepend.h +++ b/Source/cmTargetDepend.h @@ -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; } |