From 47bfb3d1f9b409f82ebc7d15c62b0755cabde05f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 03:25:12 +0300 Subject: Make use of operator<<(ostream, exception) --- tests/repository-location/driver.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/repository-location') diff --git a/tests/repository-location/driver.cxx b/tests/repository-location/driver.cxx index da7cea2..953193a 100644 --- a/tests/repository-location/driver.cxx +++ b/tests/repository-location/driver.cxx @@ -9,6 +9,7 @@ #include #include // invalid_argument +#include // operator<<(ostream, exception) #include #include @@ -622,7 +623,7 @@ main (int argc, char* argv[]) } catch (const exception& e) { - cerr << e.what () << endl; + cerr << e << endl; return 1; } } -- cgit v1.1