aboutsummaryrefslogtreecommitdiff
path: root/build/diagnostics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-13 10:29:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-13 10:29:25 +0200
commit534f9d8db025d58c9ce23f3b81a37e8c34386a27 (patch)
treee7d0c7871a7caf3b3e41c8d00548212f1ca7aa83 /build/diagnostics
parentb4ceb7b6aecb7492b28d7a0f6c53fa657a2cd2e5 (diff)
Add initial import support
Diffstat (limited to 'build/diagnostics')
-rw-r--r--build/diagnostics10
1 files changed, 3 insertions, 7 deletions
diff --git a/build/diagnostics b/build/diagnostics
index 64a0107..3ec80a3 100644
--- a/build/diagnostics
+++ b/build/diagnostics
@@ -14,7 +14,7 @@
#include <exception>
#include <type_traits>
-#include <build/path>
+#include <build/path> // <build/path-io> included at the end.
namespace build
{
@@ -30,12 +30,6 @@ namespace build
std::string
diag_relative (const path&);
- inline std::ostream&
- operator<< (std::ostream& os, const path& p)
- {
- return os << diag_relative (p);
- }
-
// Action phrases, e.g., "configure update exe{foo}", "updating exe{foo}",
// and "updating exe{foo} already configured".
//
@@ -363,4 +357,6 @@ namespace build
extern const fail_mark<failed> fail;
}
+#include <build/path-io>
+
#endif // BUILD_DIAGNOSTICS