summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-08 21:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-08 21:22:43 (GMT)
commitb0dc52704b5c4627c9ac11f1c63236367d7e3d3c (patch)
tree30c678d7762c831c13ca34b5078626cc9255eda4 /Source/cmMakefileTargetGenerator.cxx
parent1bb7474abac4eb3aa7dd1b52d9d09d2205e104f3 (diff)
downloadCMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.zip
CMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.tar.gz
CMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.tar.bz2
cmGeneratorExpression: remove const char* overloads
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index d7e2de6..451f19e 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -155,7 +155,7 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
// Evaluates generator expressions and expands prop_value
auto evaluatedFiles =
- [this](const char* prop_value) -> std::vector<std::string> {
+ [this](const std::string& prop_value) -> std::vector<std::string> {
std::vector<std::string> files;
cmExpandList(cmGeneratorExpression::Evaluate(
prop_value, this->LocalGenerator, this->GetConfigName(),