diff options
author | Brad King <brad.king@kitware.com> | 2018-02-01 13:04:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-01 13:05:33 (GMT) |
commit | f8ca0ab3ac858730874176bf332808061fe179c6 (patch) | |
tree | 4aa58a0ff03b4713940fc41fcf81196017e35a5d /Source/cmGeneratorExpressionNode.cxx | |
parent | 3ffc9b99bb20b56d5dc232fee8c988aa34474a2f (diff) | |
parent | 653b894683abe63233cb8679b34ea39d9017e317 (diff) | |
download | CMake-f8ca0ab3ac858730874176bf332808061fe179c6.zip CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.gz CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.bz2 |
Merge topic 'std-string-apis'
653b8946 Reduce raw string pointers usage.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1729
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionNode.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx index 5e3e810..c1f1ee4 100644 --- a/Source/cmGeneratorExpressionNode.cxx +++ b/Source/cmGeneratorExpressionNode.cxx @@ -1075,8 +1075,7 @@ static const struct TargetPropertyNode : public cmGeneratorExpressionNode CM_FOR_EACH_TRANSITIVE_PROPERTY_NAME(POPULATE_INTERFACE_PROPERTY_NAME) // Note that the above macro terminates with an else - /* else */ if (cmHasLiteralPrefix(propertyName.c_str(), - "COMPILE_DEFINITIONS_")) { + /* else */ if (cmHasLiteralPrefix(propertyName, "COMPILE_DEFINITIONS_")) { cmPolicies::PolicyStatus polSt = context->LG->GetPolicyStatus(cmPolicies::CMP0043); if (polSt == cmPolicies::WARN || polSt == cmPolicies::OLD) { |