summaryrefslogtreecommitdiffstats
path: root/Source/cmMSVC60LinkLineComputer.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-02 19:01:01 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-06-03 22:48:21 (GMT)
commitb1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch)
tree3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmMSVC60LinkLineComputer.cxx
parent3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff)
downloadCMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.zip
CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz
CMake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.bz2
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmMSVC60LinkLineComputer.cxx')
-rw-r--r--Source/cmMSVC60LinkLineComputer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmMSVC60LinkLineComputer.cxx b/Source/cmMSVC60LinkLineComputer.cxx
index b5e8511..5298d1a 100644
--- a/Source/cmMSVC60LinkLineComputer.cxx
+++ b/Source/cmMSVC60LinkLineComputer.cxx
@@ -3,8 +3,6 @@
#include "cmMSVC60LinkLineComputer.h"
-#include "cmStateDirectory.h"
-
#if defined(_WIN32) && !defined(__CYGWIN__)
#include "cmSystemTools.h"
#endif
@@ -12,7 +10,7 @@
class cmOutputConverter;
cmMSVC60LinkLineComputer::cmMSVC60LinkLineComputer(
- cmOutputConverter* outputConverter, cmStateDirectory stateDir)
+ cmOutputConverter* outputConverter, cmStateDirectory const& stateDir)
: cmLinkLineComputer(outputConverter, stateDir)
{
}