summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderDirectories.cxx
diff options
context:
space:
mode:
authorvvs31415 <vvs31415@users.noreply.github.com>2021-03-13 12:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2021-03-13 12:36:07 (GMT)
commit12624ebd7ee1380b5e5aa0bc3bcbb03c4d9aec73 (patch)
tree58a7df28ea4ebc050db603ebd3bca79ca5aeb77c /Source/cmOrderDirectories.cxx
parent982f7bb5063453d3c0be102c917bb660ec21978b (diff)
downloadCMake-12624ebd7ee1380b5e5aa0bc3bcbb03c4d9aec73.zip
CMake-12624ebd7ee1380b5e5aa0bc3bcbb03c4d9aec73.tar.gz
CMake-12624ebd7ee1380b5e5aa0bc3bcbb03c4d9aec73.tar.bz2
Source: Reduce c_str() usage
Diffstat (limited to 'Source/cmOrderDirectories.cxx')
-rw-r--r--Source/cmOrderDirectories.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx
index 0369af0..68f40a9 100644
--- a/Source/cmOrderDirectories.cxx
+++ b/Source/cmOrderDirectories.cxx
@@ -359,7 +359,7 @@ void cmOrderDirectories::SetLinkExtensionInfo(
std::string const& removeExtRegex)
{
this->LinkExtensions = linkExtensions;
- this->RemoveLibraryExtension.compile(removeExtRegex.c_str());
+ this->RemoveLibraryExtension.compile(removeExtRegex);
}
void cmOrderDirectories::CollectOriginalDirectories()