forked from OSchip/llvm-project
[ADT] Removed synthesized constructor introduced in r278251, since MSVC doesn't support them
llvm-svn: 278259
This commit is contained in:
parent
c881d61314
commit
ca37f0f990
|
@ -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(); }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue