Explicit vtordisp for MSVC
authorOrvid King <blah38621@gmail.com>
Thu, 25 Feb 2016 00:28:14 +0000 (16:28 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 25 Feb 2016 01:20:25 +0000 (17:20 -0800)
commita2962ba83cc77a85e3319fe6ebd1f449869eb87e
tree27bbd8c5bebc0742a26445db3a4bf41e5ee83ef3
parent914e877b032b402e31990f80dfef1bf489daf311
Explicit vtordisp for MSVC

Summary:Because sometimes things are just different.

MSVC warns about the `dynamic_cast` done against this class because the class's declaration doesn't show that it would need a vtordisp. While I don't believe the `dynamic_cast` in question is actually called in either the constructor or destructor paths for the class, better to be safe and force the disp to be created.

Reviewed By: yfeldblum

Differential Revision: D2887490

Pulled By: Orvid

fb-gh-sync-id: 821a6fc820087ac7120fffd9f8b95a26c2b4e71b
shipit-source-id: 821a6fc820087ac7120fffd9f8b95a26c2b4e71b
folly/io/async/AsyncSocket.h