forked from OSchip/llvm-project
Fix an [-Werror,-Winconsistent-missing-override] error.
llvm-svn: 221312
This commit is contained in:
parent
2d393ea6ef
commit
de4277a076
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue