diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-10 14:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-10 14:22:50 (GMT) |
commit | 9b236b5451f5726e10da3ef7ee19f4151567f1a8 (patch) | |
tree | ad71ebd54d5dd4829a26a74fb48ebae353e65dc0 /Source/cmComputeLinkInformation.h | |
parent | 95db8c5db5fbe7d3f94014a73df206e2a7398a94 (diff) | |
download | CMake-9b236b5451f5726e10da3ef7ee19f4151567f1a8.zip CMake-9b236b5451f5726e10da3ef7ee19f4151567f1a8.tar.gz CMake-9b236b5451f5726e10da3ef7ee19f4151567f1a8.tar.bz2 |
cmComputeLinkInformation: members use std:string arguments
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r-- | Source/cmComputeLinkInformation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h index e50d369..544ff23 100644 --- a/Source/cmComputeLinkInformation.h +++ b/Source/cmComputeLinkInformation.h @@ -144,11 +144,11 @@ private: cmsys::RegularExpression ExtractSharedLibraryName; cmsys::RegularExpression ExtractAnyLibraryName; std::string SharedRegexString; - void AddLinkPrefix(const char* p); - void AddLinkExtension(const char* e, LinkType type); + void AddLinkPrefix(std::string const& p); + void AddLinkExtension(std::string const& e, LinkType type); std::string CreateExtensionRegex(std::vector<std::string> const& exts, LinkType type); - std::string NoCaseExpression(const char* str); + std::string NoCaseExpression(std::string const& str); // Handling of link items. void AddTargetItem(BT<std::string> const& item, |