From 44ff188fa75cb7954fb1b9bec6b1cb03d8536ef7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Dec 2015 20:41:18 +0000 Subject: Replace MessageError with std::runtime_error. --- src/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exceptions.cc') diff --git a/src/exceptions.cc b/src/exceptions.cc index f33a1e2..4d9d29f 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -24,7 +24,7 @@ using std::string; using namespace sub; ProgrammingError::ProgrammingError (string file, int line) - : MessageError (String::compose ("Programming error at %1:%2", file, line)) + : runtime_error (String::compose ("Programming error at %1:%2", file, line)) { } -- cgit v1.2.3