aboutsummaryrefslogtreecommitdiff
path: root/include/gsl/gsl_assert
diff options
context:
space:
mode:
Diffstat (limited to 'include/gsl/gsl_assert')
-rw-r--r--include/gsl/gsl_assert4
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) {}
};
}