aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-06 03:23:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:35:36 +0300
commit64f84951d0e5c1d3352ba7b9f6c894eac72424c8 (patch)
tree1a8b69ae4d45ed08b6230dd1d4baf397d30e75b3 /bpkg/manifest-utility.cxx
parent9a90993e5605627121d7f51b4faf570d6d3bea83 (diff)
Make use of operator<<(ostream, exception)
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 901655b..c8fb6e9 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -57,7 +57,7 @@ namespace bpkg
}
catch (const invalid_argument& e)
{
- fail << "invalid package version '" << p << "': " << e.what ();
+ fail << "invalid package version '" << p << "': " << e;
}
}
@@ -78,6 +78,6 @@ namespace bpkg
}
catch (const invalid_argument& e)
{
- fail << "invalid repository location '" << s << "': " << e.what () << endf;
+ fail << "invalid repository location '" << s << "': " << e << endf;
}
}