diff options
Diffstat (limited to 'tests/repository-location/driver.cxx')
-rw-r--r-- | tests/repository-location/driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <exception> #include <stdexcept> // invalid_argument +#include <butl/utility> // operator<<(ostream, exception) #include <butl/optional> #include <butl/manifest-parser> @@ -622,7 +623,7 @@ main (int argc, char* argv[]) } catch (const exception& e) { - cerr << e.what () << endl; + cerr << e << endl; return 1; } } |