summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:41:09 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 22:48:19 (GMT)
commit73bedfea3871235ba842979625053f706d9dcd49 (patch)
tree7963ae539abf6f6ece0c35788089f8091878da13 /Source
parente6c606c7ba0ab1f9649de6a93aed5f98237276db (diff)
downloadCMake-73bedfea3871235ba842979625053f706d9dcd49.zip
CMake-73bedfea3871235ba842979625053f706d9dcd49.tar.gz
CMake-73bedfea3871235ba842979625053f706d9dcd49.tar.bz2
cmTargetDepend: pass by value
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTargetDepend.h2
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;
}