aboutsummaryrefslogtreecommitdiff
path: root/build/diagnostics
diff options
context:
space:
mode:
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