Fix an exception safety hole in ScopeGuard
authorEric Niebler <eniebler@fb.com>
Thu, 10 Mar 2016 21:25:07 +0000 (13:25 -0800)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Thu, 10 Mar 2016 21:35:25 +0000 (13:35 -0800)
commit321359e0cb441c65748427e2ef49b162340bbe04
tree4068a6e8c07e33c62689e508eb1455b837bde147
parente84e7fadf30df6ae3dd0e1894e4f9bebdcd2416c
Fix an exception safety hole in ScopeGuard

Summary: Address the exception safety hole described in https://fburl.com/scopeguard-oops. Addnditional noexcept to the places that need it.

Reviewed By: dcolascione

Differential Revision: D3033015

fb-gh-sync-id: 8dfec103bbc86abef425585371994756d3df0a14
shipit-source-id: 8dfec103bbc86abef425585371994756d3df0a14
folly/ScopeGuard.h
folly/detail/UncaughtExceptionCounter.h
folly/test/ScopeGuardTest.cpp