fail_fast should derive from logic_error (#480)

Fixes #298.
This commit is contained in:
Casey Carter 2017-04-03 11:09:47 -07:00 committed by Neil MacIntosh
parent f0e3ff81f9
commit d65660760b

View File

@ -68,9 +68,9 @@
namespace gsl 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) {}
}; };
} }