[ADT] Removed synthesized constructor introduced in r278251, since MSVC doesn't support them

llvm-svn: 278259
This commit is contained in:
Tim Shen 2016-08-10 18:08:38 +00:00
parent c881d61314
commit ca37f0f990
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ public:
template <typename Fp>
explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
scope_exit(const scope_exit &) = default;
scope_exit(scope_exit &&) = default;
scope_exit(scope_exit &&Rhs) : ExitFunction(std::move(Rhs.ExitFunction)) {}
~scope_exit() { ExitFunction(); }
};