aboutsummaryrefslogtreecommitdiff
path: root/build2/diagnostics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/diagnostics.cxx')
-rw-r--r--build2/diagnostics.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/diagnostics.cxx b/build2/diagnostics.cxx
index fb108dc..d6278a8 100644
--- a/build2/diagnostics.cxx
+++ b/build2/diagnostics.cxx
@@ -7,8 +7,6 @@
#include <cstring> // strchr()
#include <iostream>
-#include <build2/utility>
-
using namespace std;
namespace build2
@@ -81,7 +79,7 @@ namespace build2
//
if (!empty_ && (!std::uncaught_exception () || exception_unwinding_dtor))
{
- *diag_stream << os_.str () << std::endl;
+ *diag_stream << os_.str () << endl;
if (epilogue_ != nullptr)
epilogue_ (*this); // Can throw.