summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-10 13:42:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-12 19:04:12 (GMT)
commit7c9db8f8139b945d4c55d9061e4ef122351b210d (patch)
treedd2d523653994aeeb93e949550e3ac4ef27058be /Source/cmCTest.h
parentb88843d651dc2c500af13c1fe882b389c4949b04 (diff)
downloadCMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.zip
CMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.tar.gz
CMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.tar.bz2
clang-tidy: apply performance-unnecessary-value-param fixes
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 8db2e5f..8fc646f 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -242,7 +242,7 @@ public:
/** Used for parallel ctest job scheduling */
std::string GetScheduleType() { return this->ScheduleType; }
- void SetScheduleType(std::string type) { this->ScheduleType = type; }
+ void SetScheduleType(std::string const& type) { this->ScheduleType = type; }
/** The max output width */
int GetMaxTestNameWidth() const;