summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGeneratorExpressionContext.cxx')
-rw-r--r--Source/cmGeneratorExpressionContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorExpressionContext.cxx b/Source/cmGeneratorExpressionContext.cxx
index 4daf4e9..5c9462f 100644
--- a/Source/cmGeneratorExpressionContext.cxx
+++ b/Source/cmGeneratorExpressionContext.cxx
@@ -24,8 +24,8 @@ cmGeneratorExpressionContext::cmGeneratorExpressionContext(
LG(lg),
Config(config),
Language(language),
- HeadTarget(headTarget ? headTarget->Target : 0),
- CurrentTarget(currentTarget ? currentTarget->Target : 0),
+ HeadTarget(headTarget),
+ CurrentTarget(currentTarget),
Quiet(quiet),
HadError(false),
HadContextSensitiveCondition(false),