summaryrefslogtreecommitdiffstats
path: root/lld/wasm/Writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/wasm/Writer.cpp')
-rw-r--r--lld/wasm/Writer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/wasm/Writer.cpp b/lld/wasm/Writer.cpp
index 480257f18bd..63e33d69962 100644
--- a/lld/wasm/Writer.cpp
+++ b/lld/wasm/Writer.cpp
@@ -687,10 +687,10 @@ void Writer::createProducersSection() {
std::make_pair(&Info.SDKs, &SDKs)})
for (auto &Producer : *Producers.first)
if (Producers.second->end() ==
- std::find_if(Producers.second->begin(), Producers.second->end(),
- [&](std::pair<std::string, std::string> Seen) {
- return Seen.first == Producer.first;
- }))
+ llvm::find_if(*Producers.second,
+ [&](std::pair<std::string, std::string> Seen) {
+ return Seen.first == Producer.first;
+ }))
Producers.second->push_back(Producer);
}
int FieldCount =
OpenPOWER on IntegriCloud