diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-02 19:01:01 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-03 22:48:21 (GMT) |
commit | b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch) | |
tree | 3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmOrderDirectories.cxx | |
parent | 3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff) | |
download | CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.zip CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.bz2 |
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmOrderDirectories.cxx')
-rw-r--r-- | Source/cmOrderDirectories.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx index d48eb53..333e313 100644 --- a/Source/cmOrderDirectories.cxx +++ b/Source/cmOrderDirectories.cxx @@ -424,7 +424,7 @@ struct cmOrderDirectoriesCompare // The conflict pair is unique based on just the directory // (first). The second element is only used for displaying // information about why the entry is present. - bool operator()(ConflictPair const& l, ConflictPair const& r) + bool operator()(ConflictPair l, ConflictPair r) { return l.first == r.first; } |