[Cmake-commits] [cmake-commits] king committed cmFileCommand.cxx 1.122 1.123
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Apr 29 08:46:26 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30640/Source
Modified Files:
cmFileCommand.cxx
Log Message:
ENH: Simplify construction of cmFileInstaller
This cleans up the cmFileInstaller constructor signature.
Index: cmFileCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFileCommand.cxx,v
retrieving revision 1.122
retrieving revision 1.123
diff -C 2 -d -r1.122 -r1.123
*** cmFileCommand.cxx 28 Apr 2009 12:19:44 -0000 1.122
--- cmFileCommand.cxx 29 Apr 2009 12:46:21 -0000 1.123
***************
*** 910,915 ****
// All instances need the file command and makefile using them.
! cmFileInstaller(cmFileCommand* fc, cmMakefile* mf):
! FileCommand(fc), Makefile(mf), DestDirLength(0), MatchlessFiles(true)
{
// Get the current manifest.
--- 910,916 ----
// All instances need the file command and makefile using them.
! cmFileInstaller(cmFileCommand* command):
! FileCommand(command), Makefile(command->GetMakefile()),
! DestDirLength(0), MatchlessFiles(true)
{
// Get the current manifest.
***************
*** 1726,1730 ****
// Construct a file installer object.
! cmFileInstaller installer(this, this->Makefile);
std::string rename = "";
--- 1727,1731 ----
// Construct a file installer object.
! cmFileInstaller installer(this);
std::string rename = "";
More information about the Cmake-commits
mailing list