mirror of
https://github.com/microsoft/GSL.git
synced 2025-02-20 08:28:09 -05:00
This fixes the build with clang 7 which introduces a new warning `-Wreturn-std-move` which warns about needless copies when a move operation is available (see https://reviews.llvm.org/rL329914). We take the exception object by uref so we should throw the forwarded version.