summaryrefslogtreecommitdiff
path: root/src/vm/exceptionhandling.cpp
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-10-28 04:34:42 +0200
committerJan Kotas <jkotas@microsoft.com>2016-10-27 19:34:42 -0700
commit7dfb2ed8614dea8c2fe757592436a38694e91ebc (patch)
tree98637e9187352a71cc960ec42b529b10554a2cf3 /src/vm/exceptionhandling.cpp
parent3331ad17e177ad123ebbb1e91e47a43d04ab40fd (diff)
downloadcoreclr-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.cpp2
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_