mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'lint-function-args'
b1ec5dea Pass large types by const&, small types by value
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !927
This commit is contained in:
@@ -1121,9 +1121,9 @@ protected:
|
||||
|
||||
bool InstallSymlink(const char* fromFile, const char* toFile);
|
||||
bool InstallFile(const char* fromFile, const char* toFile,
|
||||
MatchProperties const& match_properties);
|
||||
MatchProperties match_properties);
|
||||
bool InstallDirectory(const char* source, const char* destination,
|
||||
MatchProperties const& match_properties);
|
||||
MatchProperties match_properties);
|
||||
virtual bool Install(const char* fromFile, const char* toFile);
|
||||
virtual std::string const& ToName(std::string const& fromName)
|
||||
{
|
||||
@@ -1542,7 +1542,7 @@ bool cmFileCopier::InstallSymlink(const char* fromFile, const char* toFile)
|
||||
}
|
||||
|
||||
bool cmFileCopier::InstallFile(const char* fromFile, const char* toFile,
|
||||
MatchProperties const& match_properties)
|
||||
MatchProperties match_properties)
|
||||
{
|
||||
// Determine whether we will copy the file.
|
||||
bool copy = true;
|
||||
@@ -1596,7 +1596,7 @@ bool cmFileCopier::InstallFile(const char* fromFile, const char* toFile,
|
||||
|
||||
bool cmFileCopier::InstallDirectory(const char* source,
|
||||
const char* destination,
|
||||
MatchProperties const& match_properties)
|
||||
MatchProperties match_properties)
|
||||
{
|
||||
// Inform the user about this directory installation.
|
||||
this->ReportCopy(destination, TypeDir,
|
||||
|
||||
Reference in New Issue
Block a user