From: Andrew Cox Date: Mon, 25 Apr 2016 17:51:47 +0000 (-0700) Subject: UndelayedDestruction virtual=>override X-Git-Tag: 2016.07.26~327 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dcac5e8d810f3e20e600daa0230670cb3ca3b3e4;p=folly.git 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 --- 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(); }