summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-17 12:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-03-17 12:33:57 (GMT)
commitb915fec56e7b1768ea717bf4d970f8b4910c7829 (patch)
treeccbc863f50cad5ab08f30e8c0aa5c6101cb11aaa /Source/cmGeneratorExpressionNode.cxx
parentbee0100396d4b0dad7204125606e6baf26b79e38 (diff)
downloadCMake-b915fec56e7b1768ea717bf4d970f8b4910c7829.zip
CMake-b915fec56e7b1768ea717bf4d970f8b4910c7829.tar.gz
CMake-b915fec56e7b1768ea717bf4d970f8b4910c7829.tar.bz2
cmTarget: minor code improvements
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 8831d0f..c0db90f 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -910,8 +910,8 @@ static const struct ConfigurationTestNode : public cmGeneratorExpressionNode
const char* loc = nullptr;
const char* imp = nullptr;
std::string suffix;
- if (context->CurrentTarget->Target->GetMappedConfig(
- context->Config, &loc, &imp, suffix)) {
+ if (context->CurrentTarget->Target->GetMappedConfig(context->Config, loc,
+ imp, suffix)) {
// This imported target has an appropriate location
// for this (possibly mapped) config.
// Check if there is a proper config mapping for the tested config.
@@ -1568,7 +1568,7 @@ static const struct TargetObjectsNode : public cmGeneratorExpressionNode
const char* loc = nullptr;
const char* imp = nullptr;
std::string suffix;
- if (gt->Target->GetMappedConfig(context->Config, &loc, &imp, suffix)) {
+ if (gt->Target->GetMappedConfig(context->Config, loc, imp, suffix)) {
cmExpandList(loc, objects);
}
context->HadContextSensitiveCondition = true;