aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-06 03:23:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:37:04 +0300
commit5db146ef751507efd4f9556c9a0ab3bb5e88f7c5 (patch)
tree4814f25c7101588a7dd7433fac4f797972295f95 /tests
parentde29ab0fc899955304fc65ae688f69b6ed805bc9 (diff)
Make use of operator<<(ostream, exception)
Diffstat (limited to 'tests')
-rw-r--r--tests/load/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx
index 6539152..396d89f 100644
--- a/tests/load/driver.cxx
+++ b/tests/load/driver.cxx
@@ -848,7 +848,7 @@ main (int argc, char* argv[])
//
catch (const std::exception& e)
{
- cerr << e.what () << endl;
+ cerr << e << endl;
return 1;
}
}