aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest/driver.cxx')
-rw-r--r--tests/manifest/driver.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx
index 9b6c31a..380bd04 100644
--- a/tests/manifest/driver.cxx
+++ b/tests/manifest/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>
@@ -43,7 +44,7 @@ main (int argc, char* argv[])
}
catch (const exception& e)
{
- cerr << e.what () << endl;
+ cerr << e << endl;
return 1;
}
}