test the typeid of the exception before it is potentially moved
authorEric Niebler <eniebler@fb.com>
Thu, 4 May 2017 02:12:10 +0000 (19:12 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 4 May 2017 02:26:30 +0000 (19:26 -0700)
commit5947e77818dae0a0409bbe0d577464f7b2a7a687
treef6266080c07d4639cd46bcabed8311970ca76090
parent919d544e2482da913110b018b572232cdc17718a
test the typeid of the exception before it is potentially moved

Summary: Access the RTTI of the incomming exception before it is potentially moved from when testing for slicing

Reviewed By: yfeldblum

Differential Revision: D4999189

fbshipit-source-id: 3e6c0a9f10a27810484330e9b37a5b0ec450ff88
folly/ExceptionWrapper-inl.h