summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-08 12:45:52 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-21 16:41:14 +0000
commiteb0bdad79aa8a8b32e7d23149cf0a0c8f1dfd380 (patch)
tree019f1bdb72ba3feb13d71cac32e2505711d472f4 /src/lib/exceptions.cc
parent46659619edffe56bc814d6c49a057db22a117194 (diff)
Various build fixes.
Diffstat (limited to 'src/lib/exceptions.cc')
-rw-r--r--src/lib/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exceptions.cc b/src/lib/exceptions.cc
index b5de4168f..ecc8cee86 100644
--- a/src/lib/exceptions.cc
+++ b/src/lib/exceptions.cc
@@ -82,7 +82,7 @@ ProgrammingError::ProgrammingError (string file, int line)
}
JPEG2000EncoderUnavailableException::JPEG2000EncoderUnavailableException (string encoder_name, string message)
- : StringError (String::compose (_("Encoder %1 unavailable: %2"), encoder_name, message))
+ : runtime_error (String::compose (_("Encoder %1 unavailable: %2"), encoder_name, message))
{
}