From de4277a076a22e396bf80f0974844af558deb8aa Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 4 Nov 2014 23:21:07 +0000 Subject: [PATCH] Fix an [-Werror,-Winconsistent-missing-override] error. llvm-svn: 221312 --- lld/include/lld/Core/Simple.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lld/include/lld/Core/Simple.h b/lld/include/lld/Core/Simple.h index a8282d11feed..1d901f8d72a3 100644 --- a/lld/include/lld/Core/Simple.h +++ b/lld/include/lld/Core/Simple.h @@ -40,7 +40,8 @@ public: } } - void removeDefinedAtomsIf(std::function pred) { + void + removeDefinedAtomsIf(std::function pred) override { auto &atoms = _definedAtoms._atoms; auto newEnd = std::remove_if(atoms.begin(), atoms.end(), pred); atoms.erase(newEnd, atoms.end());