aboutsummaryrefslogtreecommitdiff
path: root/tests/lexer
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:06:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:15:26 +0300
commit3473cc68f59911cb6659634fdc577f882c8128de (patch)
treea49450c846bf4ac8ae6159f35f36406cfe58221a /tests/lexer
parent0ce6a95f5fca35888632551181e2c3756e38942c (diff)
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'tests/lexer')
-rw-r--r--tests/lexer/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lexer/driver.cxx b/tests/lexer/driver.cxx
index 8ba71a5..5575956 100644
--- a/tests/lexer/driver.cxx
+++ b/tests/lexer/driver.cxx
@@ -161,7 +161,7 @@ lex (const char* s)
{
r.push_back ("<lexer error>");
}
- catch (const std::ios_base::failure&)
+ catch (const io_error&)
{
r.push_back ("<io error>");
}