summaryrefslogtreecommitdiff
path: root/src/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.cc')
-rw-r--r--src/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
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))
{
}