summaryrefslogtreecommitdiff
path: root/test/rewrite_subs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/rewrite_subs.cc')
-rw-r--r--test/rewrite_subs.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc
index d8ec4eea..90718fae 100644
--- a/test/rewrite_subs.cc
+++ b/test/rewrite_subs.cc
@@ -77,7 +77,7 @@ main (int argc, char* argv[])
cerr << e.what() << " (" << e.filename() << ") when reading " << argv[1] << "\n";
exit (EXIT_FAILURE);
}
- catch (DCPReadError& e)
+ catch (ReadError& e)
{
cerr << e.what() << " when reading " << argv[1] << "\n";
exit (EXIT_FAILURE);