From 9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 6 Jan 2017 03:24:33 +0300 Subject: Make use of operator<<(ostream, exception) --- build2/pkgconfig/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/pkgconfig') diff --git a/build2/pkgconfig/init.cxx b/build2/pkgconfig/init.cxx index 7149eb6..8d50def 100644 --- a/build2/pkgconfig/init.cxx +++ b/build2/pkgconfig/init.cxx @@ -72,7 +72,7 @@ namespace build2 } catch (const process_error& e) { - fail << "unable to execute " << x << ": " << e.what (); + fail << "unable to execute " << x << ": " << e; } } -- cgit v1.1