diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-12-10 13:42:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-12 19:04:12 (GMT) |
commit | 7c9db8f8139b945d4c55d9061e4ef122351b210d (patch) | |
tree | dd2d523653994aeeb93e949550e3ac4ef27058be /Source/cmGeneratorExpressionEvaluator.h | |
parent | b88843d651dc2c500af13c1fe882b389c4949b04 (diff) | |
download | CMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.zip CMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.tar.gz CMake-7c9db8f8139b945d4c55d9061e4ef122351b210d.tar.bz2 |
clang-tidy: apply performance-unnecessary-value-param fixes
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h index 122e9cf..41bea9b 100644 --- a/Source/cmGeneratorExpressionEvaluator.h +++ b/Source/cmGeneratorExpressionEvaluator.h @@ -65,13 +65,15 @@ private: struct GeneratorExpressionContent : public cmGeneratorExpressionEvaluator { GeneratorExpressionContent(const char* startContent, size_t length); - void SetIdentifier(std::vector<cmGeneratorExpressionEvaluator*> identifier) + void SetIdentifier( + std::vector<cmGeneratorExpressionEvaluator*> const& identifier) { this->IdentifierChildren = identifier; } void SetParameters( - std::vector<std::vector<cmGeneratorExpressionEvaluator*> > parameters) + std::vector<std::vector<cmGeneratorExpressionEvaluator*> > const& + parameters) { this->ParamChildren = parameters; } |