UndelayedDestruction virtual=>override
authorAndrew Cox <andrewcox@fb.com>
Mon, 25 Apr 2016 17:51:47 +0000 (10:51 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Mon, 25 Apr 2016 18:05:31 +0000 (11:05 -0700)
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

index 6a9dae9b3b166e19d8ff8842db03466daf05b83c..a6594e0ee75065e4ff514c97b8df2c16b4bed034 100644 (file)
@@ -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();
   }