[LCG] Fix an assert in a on-scope-exit lambda that checked the contents
of the returned value. Checking the returned value from inside of a scoped exit isn't actually valid. It happens to work when NRVO fires and the stars align, which they reliably do with Clang but don't, for example, on MSVC builds. llvm-svn: 310547
Loading
Please register or sign in to comment