Explorar el Código

Target copy ctor should initialize internal state

The commit "Target copy ctor should copy internal state" created a new
cmTargetInternals constructor but failed to initialize a POD member that
the original constructor initializes.  This commit fixes it.
Brad King hace 16 años
padre
commit
d8f6d3a274
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Source/cmTarget.cxx

+ 1 - 0
Source/cmTarget.cxx

@@ -57,6 +57,7 @@ public:
     }
   cmTargetInternals(cmTargetInternals const& r)
     {
+    this->SourceFileFlagsConstructed = false;
     // Only some of these entries are part of the object state.
     // Others not copied here are result caches.
     this->SourceEntries = r.SourceEntries;