reuse more of Cursor to avoid future issues
[folly.git] / folly / ScopeGuard.h
index 135d2c4c185a6a426cc6c8966421d93a59f24401..410dc6f7fd1451182aa164c0ed507b067703c3e2 100644 (file)
@@ -185,11 +185,6 @@ detail::ScopeGuardImplDecay<F> makeGuard(F&& f) noexcept(
   return detail::ScopeGuardImplDecay<F>(static_cast<F&&>(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) || \