From d65660760b8ce5aef58a4b7c5706273c7f37c501 Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Mon, 3 Apr 2017 11:09:47 -0700 Subject: [PATCH] fail_fast should derive from logic_error (#480) Fixes #298. --- include/gsl/gsl_assert | 4 ++-- 1 file 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) {} }; }