diff --git a/include/gsl/gsl_assert b/include/gsl/gsl_assert index 2bda149..3f5746a 100644 --- a/include/gsl/gsl_assert +++ b/include/gsl/gsl_assert @@ -113,7 +113,7 @@ namespace details template [[noreturn]] void throw_exception(Exception&& exception) { - throw exception; + throw std::forward(exception); } #endif