Browse Source

cmGeneratorExpressionDAGChecker: Simplify member initialization

Brad King 1 year ago
parent
commit
304f4c261e

+ 0 - 2
Source/cmGeneratorExpressionDAGChecker.cxx

@@ -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();

+ 2 - 2
Source/cmGeneratorExpressionDAGChecker.h

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