diff options
author | Casey Carter <Casey@Carter.net> | 2017-04-03 11:09:47 -0700 |
---|---|---|
committer | Neil MacIntosh <neilmac@microsoft.com> | 2017-04-03 11:09:47 -0700 |
commit | d65660760b8ce5aef58a4b7c5706273c7f37c501 (patch) | |
tree | 77223f66f0e08730ca5a797b21f06bbec94d9a66 /include/gsl/gsl_assert | |
parent | f0e3ff81f914cd2fe23113a7ed84d90493327e89 (diff) | |
download | Microsoft-GSL-d65660760b8ce5aef58a4b7c5706273c7f37c501.tar.gz |
fail_fast should derive from logic_error (#480)
Fixes #298.
Diffstat (limited to 'include/gsl/gsl_assert')
-rw-r--r-- | include/gsl/gsl_assert | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gsl/gsl_assert b/include/gsl/gsl_assert index 1b7b810..fdfe0b0 100644 --- a/include/gsl/gsl_assert +++ b/include/gsl/gsl_assert @@ -68,9 +68,9 @@ namespace gsl { -struct fail_fast : public std::runtime_error +struct fail_fast : public std::logic_error { - explicit fail_fast(char const* const message) : std::runtime_error(message) {} + explicit fail_fast(char const* const message) : std::logic_error(message) {} }; } |