Fix build error

llvm-svn: 237859
This commit is contained in:
Andrew Kaylor 2015-05-20 23:58:44 +00:00
parent 5e0f425c27
commit cafb89df1e
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ bool WinEHPrepare::prepareExceptionHandlers(
// outline the landing pad which encloses it.
if (!isAsynchronousEHPersonality(Personality))
std::sort(LPads.begin(), LPads.end(),
[this](LandingPadInst* &L, LandingPadInst* &R) {
[this](LandingPadInst* const &L, LandingPadInst* const &R) {
return DT->dominates(R->getParent(), L->getParent());
});