summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-30 17:19:22 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-31 14:27:54 (GMT)
commit0779bc9393efeaf1bb3bbf35619617d317d37308 (patch)
treea0b78a5475011b289a4048b20b5fe57be22e4e7f /Source/cmFindPackageCommand.h
parent8ea30a44d38057fed134532f6d3b6e8626a1ccff (diff)
downloadCMake-0779bc9393efeaf1bb3bbf35619617d317d37308.zip
CMake-0779bc9393efeaf1bb3bbf35619617d317d37308.tar.gz
CMake-0779bc9393efeaf1bb3bbf35619617d317d37308.tar.bz2
ReadListFile: Accept std::string argument
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index 83d8431..a11d253 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -110,7 +110,7 @@ private:
NoPolicyScope,
DoPolicyScope
};
- bool ReadListFile(const char* f, PolicyScopeRule psr);
+ bool ReadListFile(const std::string& f, PolicyScopeRule psr);
void StoreVersionFound();
void ComputePrefixes();