summaryrefslogtreecommitdiff
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-29 23:19:40 +0100
committerStephen Kelly <steveire@gmail.com>2015-02-05 20:44:25 +0100
commit421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0 (patch)
tree3cddbf25b8b42e59b401e0d0a5670dab2a4c7e83 /Source/cmFindLibraryCommand.cxx
parent098160d5f2a1aa35d2f14c585dd87cefd8f56f41 (diff)
downloadcmake-421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0.tar.gz
Remove use of cmsys_stl.
It is not needed.
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 78f0e9e522..c499f61549 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -195,12 +195,12 @@ struct cmFindLibraryHelper
void RegexFromList(std::string& out, std::vector<std::string> const& in);
size_type GetPrefixIndex(std::string const& prefix)
{
- return cmsys_stl::find(this->Prefixes.begin(), this->Prefixes.end(),
+ return std::find(this->Prefixes.begin(), this->Prefixes.end(),
prefix) - this->Prefixes.begin();
}
size_type GetSuffixIndex(std::string const& suffix)
{
- return cmsys_stl::find(this->Suffixes.begin(), this->Suffixes.end(),
+ return std::find(this->Suffixes.begin(), this->Suffixes.end(),
suffix) - this->Suffixes.begin();
}
bool HasValidSuffix(std::string const& name);