summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-06-27 03:09:37 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-07-11 13:14:01 (GMT)
commitc6d3ef1c95ed3b3a13ee3a3b2cb00112f1a2bda8 (patch)
tree89ead03a482a33bb0aa74f49d66e591554c59d59
parentf2a4e4f6fa46d04f117b1b3ed498534aa30fde84 (diff)
downloadCMake-c6d3ef1c95ed3b3a13ee3a3b2cb00112f1a2bda8.zip
CMake-c6d3ef1c95ed3b3a13ee3a3b2cb00112f1a2bda8.tar.gz
CMake-c6d3ef1c95ed3b3a13ee3a3b2cb00112f1a2bda8.tar.bz2
cmFindPackageCommand: Replace empty string literal w/ default `std::string{}`
-rw-r--r--Source/cmFindPackageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index a763f18..0347d58 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -2208,7 +2208,7 @@ private:
bool cmFileListGeneratorBase::Search(cmFileList& listing)
{
- return this->Search("", listing);
+ return this->Search(std::string{}, listing);
}
cmFileListGeneratorBase* cmFileListGeneratorBase::SetNext(