diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2021-10-27 18:01:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-11-04 13:20:48 (GMT) |
commit | b86b6aaa4a27009af4e1457458cf35185be00dc5 (patch) | |
tree | d8410f37e0df5aeb59bad57a6ded0961b63f1721 /Source/CPack/cmCPackFreeBSDGenerator.cxx | |
parent | 6251239a1c0f0f8342813ff800c184ca2672935b (diff) | |
download | CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.zip CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.gz CMake-b86b6aaa4a27009af4e1457458cf35185be00dc5.tar.bz2 |
Source: Cleanup and simplify some code
Diffstat (limited to 'Source/CPack/cmCPackFreeBSDGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackFreeBSDGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackFreeBSDGenerator.cxx b/Source/CPack/cmCPackFreeBSDGenerator.cxx index 30b6b0d..fcd5753 100644 --- a/Source/CPack/cmCPackFreeBSDGenerator.cxx +++ b/Source/CPack/cmCPackFreeBSDGenerator.cxx @@ -205,7 +205,7 @@ std::string cmCPackFreeBSDGenerator::var_lookup(const char* var_name) { cmValue pv = this->GetOption(var_name); if (!pv) { - return std::string(); + return {}; } return *pv; } |