summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-10 14:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-10 14:22:50 (GMT)
commit9b236b5451f5726e10da3ef7ee19f4151567f1a8 (patch)
treead71ebd54d5dd4829a26a74fb48ebae353e65dc0 /Source/cmComputeLinkInformation.h
parent95db8c5db5fbe7d3f94014a73df206e2a7398a94 (diff)
downloadCMake-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.h6
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,