diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:41:18 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-12-16 20:41:18 +0000 |
| commit | 44ff188fa75cb7954fb1b9bec6b1cb03d8536ef7 (patch) | |
| tree | 5d2be5ee9aa0aa1f7feca7ec54c62f19b0b210c1 /src/exceptions.cc | |
| parent | 5a843c4c224051237105a6e8de472ae9a216c001 (diff) | |
Replace MessageError with std::runtime_error.
Diffstat (limited to 'src/exceptions.cc')
| -rw-r--r-- | src/exceptions.cc | 2 |
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)) { } |
