summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-29 22:19:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-05 19:44:25 (GMT)
commit421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0 (patch)
tree3cddbf25b8b42e59b401e0d0a5670dab2a4c7e83 /Source/cmFindLibraryCommand.cxx
parent098160d5f2a1aa35d2f14c585dd87cefd8f56f41 (diff)
downloadCMake-421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0.zip
CMake-421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0.tar.gz
CMake-421eadb45b48d40aa7d0b5e42a48df4ba94b9fc0.tar.bz2
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 78f0e9e..c499f61 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);