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/bin/init.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build2/bin') diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx index 89dea09..e1b812b 100644 --- a/build2/bin/init.cxx +++ b/build2/bin/init.cxx @@ -246,8 +246,7 @@ namespace build2 // This is where we suggest that the user specifies --config-sub // to help us out. // - fail << "unable to parse binutils target '" << s << "': " - << e.what () << + fail << "unable to parse binutils target '" << s << "': " << e << info << "consider using the --config-sub option"; } -- cgit v1.1