[Cmake-commits] [cmake-commits] king committed cmTarget.cxx 1.280 1.281

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 6 09:59:08 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv1100/Source

Modified Files:
	cmTarget.cxx 
Log Message:
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.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.280
retrieving revision 1.281
diff -C 2 -d -r1.280 -r1.281
*** cmTarget.cxx	5 Oct 2009 20:14:17 -0000	1.280
--- cmTarget.cxx	6 Oct 2009 13:59:05 -0000	1.281
***************
*** 58,61 ****
--- 58,62 ----
    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.



More information about the Cmake-commits mailing list