diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-06 03:26:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-09 21:31:14 +0300 |
commit | 9a81c308f2d4217592630ef41a18a8998bd66f5c (patch) | |
tree | e5ab252f90d1b3aa2a2f2775f0f36e569d48b4a5 /tests/manifest-roundtrip | |
parent | 39101a4383d38c1217c44b999a6e3bd199727c60 (diff) |
Add operator<<(ostream, exception)
Diffstat (limited to 'tests/manifest-roundtrip')
-rw-r--r-- | tests/manifest-roundtrip/driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <cassert> #include <iostream> +#include <butl/utility> // operator<<(ostream, exception) #include <butl/fdstream> #include <butl/manifest-parser> #include <butl/manifest-serializer> @@ -46,7 +47,7 @@ main (int argc, char* argv[]) } catch (const exception& e) { - cerr << e.what () << endl; + cerr << e << endl; return 1; } } |