diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2016-10-28 04:34:42 +0200 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-10-27 19:34:42 -0700 |
commit | 7dfb2ed8614dea8c2fe757592436a38694e91ebc (patch) | |
tree | 98637e9187352a71cc960ec42b529b10554a2cf3 /src/vm/exceptionhandling.cpp | |
parent | 3331ad17e177ad123ebbb1e91e47a43d04ab40fd (diff) | |
download | coreclr-7dfb2ed8614dea8c2fe757592436a38694e91ebc.tar.gz coreclr-7dfb2ed8614dea8c2fe757592436a38694e91ebc.tar.bz2 coreclr-7dfb2ed8614dea8c2fe757592436a38694e91ebc.zip |
Add missing std::move to one exception throw (#7865)
We had the std::move missing in one of the exception throws. For some reason,
the current clang didn't complain about it even though the copy constructor was
deleted.
Diffstat (limited to 'src/vm/exceptionhandling.cpp')
-rw-r--r-- | src/vm/exceptionhandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp index e59f10e070..ed155eb998 100644 --- a/src/vm/exceptionhandling.cpp +++ b/src/vm/exceptionhandling.cpp @@ -4730,7 +4730,7 @@ VOID DECLSPEC_NORETURN DispatchManagedException(PAL_SEHException& ex, bool isHar } } - throw ex; + throw std::move(ex); } #ifdef _AMD64_ |