summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPKGGenerator.h
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2021-10-27 18:01:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-04 13:20:48 (GMT)
commitb86b6aaa4a27009af4e1457458cf35185be00dc5 (patch)
treed8410f37e0df5aeb59bad57a6ded0961b63f1721 /Source/CPack/cmCPackPKGGenerator.h
parent6251239a1c0f0f8342813ff800c184ca2672935b (diff)
downloadCMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.zip
CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.gz
CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.bz2
Source: Cleanup and simplify some code
Diffstat (limited to 'Source/CPack/cmCPackPKGGenerator.h')
-rw-r--r--Source/CPack/cmCPackPKGGenerator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackPKGGenerator.h b/Source/CPack/cmCPackPKGGenerator.h
index 17cdcdf..5d97d16 100644
--- a/Source/CPack/cmCPackPKGGenerator.h
+++ b/Source/CPack/cmCPackPKGGenerator.h
@@ -43,7 +43,8 @@ protected:
// which will be configured via ConfigureFile.
bool CopyCreateResourceFile(const std::string& name,
const std::string& dirName);
- bool CopyResourcePlistFile(const std::string& name, const char* outName = 0);
+ bool CopyResourcePlistFile(const std::string& name,
+ const char* outName = nullptr);
int CopyInstallScript(const std::string& resdir, const std::string& script,
const std::string& name);