projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3331ad1
)
Add missing std::move to one exception throw (#7865)
author
Jan Vorlicek
<janvorli@microsoft.com>
Fri, 28 Oct 2016 02:34:42 +0000
(
04:34
+0200)
committer
Jan Kotas
<jkotas@microsoft.com>
Fri, 28 Oct 2016 02:34:42 +0000
(19:34 -0700)
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.
src/vm/exceptionhandling.cpp
patch
|
blob
|
history
diff --git
a/src/vm/exceptionhandling.cpp
b/src/vm/exceptionhandling.cpp
index
e59f10e
..
ed155eb
100644
(file)
--- 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_