aboutsummaryrefslogtreecommitdiff
path: root/include/gsl/gsl_util
diff options
context:
space:
mode:
authorStephan Dollberg <stephan.dollberg@gmail.com>2018-04-25 02:35:12 +0100
committerAnna Gringauze <annagrin@microsoft.com>2018-04-24 18:35:12 -0700
commit9c5e21045dd1138750868ed307110778ef4f4bc3 (patch)
tree10f4182902c01ee6d28511e19c015dac973f8e3a /include/gsl/gsl_util
parentd25969dbdfc3fe144baf60165d0850861afef45c (diff)
downloadMicrosoft-GSL-9c5e21045dd1138750868ed307110778ef4f4bc3.tar.gz
Make gsl::details::throw_exception not copy exception object (#667)
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.
Diffstat (limited to 'include/gsl/gsl_util')
0 files changed, 0 insertions, 0 deletions