summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/include/lld/Core/Simple.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/include/lld/Core/Simple.h b/lld/include/lld/Core/Simple.h
index a8282d11fee..1d901f8d72a 100644
--- a/lld/include/lld/Core/Simple.h
+++ b/lld/include/lld/Core/Simple.h
@@ -40,7 +40,8 @@ public:
}
}
- void removeDefinedAtomsIf(std::function<bool(const DefinedAtom *)> pred) {
+ void
+ removeDefinedAtomsIf(std::function<bool(const DefinedAtom *)> pred) override {
auto &atoms = _definedAtoms._atoms;
auto newEnd = std::remove_if(atoms.begin(), atoms.end(), pred);
atoms.erase(newEnd, atoms.end());
OpenPOWER on IntegriCloud