X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FScopeGuard.h;h=410dc6f7fd1451182aa164c0ed507b067703c3e2;hp=135d2c4c185a6a426cc6c8966421d93a59f24401;hb=653053aa7a270129b35d405e3d196210c44ec6e2;hpb=e61c21509306b8bad35427a3a768347d51c25e66 diff --git a/folly/ScopeGuard.h b/folly/ScopeGuard.h index 135d2c4c..410dc6f7 100644 --- a/folly/ScopeGuard.h +++ b/folly/ScopeGuard.h @@ -185,11 +185,6 @@ detail::ScopeGuardImplDecay makeGuard(F&& f) noexcept( return detail::ScopeGuardImplDecay(static_cast(f)); } -/** - * This is largely unneeded if you just use auto for your guards. - */ -typedef detail::ScopeGuardImplBase&& ScopeGuard; - namespace detail { #if defined(FOLLY_EXCEPTION_COUNT_USE_CXA_GET_GLOBALS) || \