summaryrefslogtreecommitdiffstats
path: root/Source/cmProcessOutput.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/cmProcessOutput.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/cmProcessOutput.h')
-rw-r--r--Source/cmProcessOutput.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProcessOutput.h b/Source/cmProcessOutput.h
index 6046f57..d2e631f 100644
--- a/Source/cmProcessOutput.h
+++ b/Source/cmProcessOutput.h
@@ -32,7 +32,7 @@ public:
* \param name a encoding name.
* \return encoding enum value or Auto if \a name was not found.
*/
- static Encoding FindEncoding(std::string name);
+ static Encoding FindEncoding(std::string const& name);
/// The code page that is used as internal encoding to which we will encode.
static unsigned int defaultCodepage;