From dcac5e8d810f3e20e600daa0230670cb3ca3b3e4 Mon Sep 17 00:00:00 2001 From: Andrew Cox Date: Mon, 25 Apr 2016 10:51:47 -0700 Subject: [PATCH] UndelayedDestruction virtual=>override Summary: Had this in another diff, but it caused too much test noise. So I've separated it out on it's own. Reviewed By: yfeldblum Differential Revision: D3213605 fb-gh-sync-id: 9ebfcf8430da7c66a31868032a0cef1e616ffc58 fbshipit-source-id: 9ebfcf8430da7c66a31868032a0cef1e616ffc58 --- folly/io/async/test/UndelayedDestruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/io/async/test/UndelayedDestruction.h b/folly/io/async/test/UndelayedDestruction.h index 6a9dae9b..a6594e0e 100644 --- a/folly/io/async/test/UndelayedDestruction.h +++ b/folly/io/async/test/UndelayedDestruction.h @@ -96,7 +96,7 @@ class UndelayedDestruction : public TDD { * Override our parent's destroy() method to make it protected. * Callers should use the normal destructor instead of destroy */ - virtual void destroy() { + void destroy() override { this->TDD::destroy(); } -- 2.34.1