Fix an [-Werror,-Winconsistent-missing-override] error.

llvm-svn: 221312
This commit is contained in:
Eric Christopher 2014-11-04 23:21:07 +00:00
parent 2d393ea6ef
commit de4277a076
1 changed files with 2 additions and 1 deletions

View File

@ -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());