From 9a81c308f2d4217592630ef41a18a8998bd66f5c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 03:26:03 +0300 Subject: Add operator<<(ostream, exception) --- tests/manifest-roundtrip/driver.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/manifest-roundtrip') diff --git a/tests/manifest-roundtrip/driver.cxx b/tests/manifest-roundtrip/driver.cxx index cb48e74..69fcf03 100644 --- a/tests/manifest-roundtrip/driver.cxx +++ b/tests/manifest-roundtrip/driver.cxx @@ -5,6 +5,7 @@ #include #include +#include // operator<<(ostream, exception) #include #include #include @@ -46,7 +47,7 @@ main (int argc, char* argv[]) } catch (const exception& e) { - cerr << e.what () << endl; + cerr << e << endl; return 1; } } -- cgit v1.1