aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest-roundtrip/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest-roundtrip/driver.cxx')
-rw-r--r--tests/manifest-roundtrip/driver.cxx3
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;
}
}