diff options
| author | Tim Shen <timshen91@gmail.com> | 2016-08-10 18:08:38 +0000 | 
|---|---|---|
| committer | Tim Shen <timshen91@gmail.com> | 2016-08-10 18:08:38 +0000 | 
| commit | ca37f0f990068c5e511b8d4808b099a7a57459b5 (patch) | |
| tree | ffd90524d047cd88a7d9075643ea84a3e7086b5d /llvm | |
| parent | c881d61314927bc347b0f39177860d8c922b4d8d (diff) | |
| download | bcm5719-llvm-ca37f0f990068c5e511b8d4808b099a7a57459b5.tar.gz bcm5719-llvm-ca37f0f990068c5e511b8d4808b099a7a57459b5.zip | |
[ADT] Removed synthesized constructor introduced in r278251, since MSVC doesn't support them
llvm-svn: 278259
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/ADT/ScopeExit.h | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/llvm/include/llvm/ADT/ScopeExit.h b/llvm/include/llvm/ADT/ScopeExit.h index 497e80bfac4..6786a61c0bf 100644 --- a/llvm/include/llvm/ADT/ScopeExit.h +++ b/llvm/include/llvm/ADT/ScopeExit.h @@ -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(); }  }; | 

