cmGeneratorExpressionDAGChecker: Simplify member initialization

This commit is contained in:
Brad King
2024-04-08 19:03:12 -04:00
parent c620d8d9cf
commit 304f4c261e
2 changed files with 2 additions and 4 deletions

View File

@@ -35,8 +35,6 @@ cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
, Property(std::move(property))
, Content(content)
, Backtrace(std::move(backtrace))
, TransitivePropertiesOnly(false)
, CMP0131(false)
{
const auto* top = this->Top();
this->CheckResult = this->CheckGraph();

View File

@@ -107,6 +107,6 @@ private:
const GeneratorExpressionContent* const Content;
const cmListFileBacktrace Backtrace;
Result CheckResult;
bool TransitivePropertiesOnly;
bool CMP0131;
bool TransitivePropertiesOnly = false;
bool CMP0131 = false;
};