aboutsummaryrefslogtreecommitdiff
path: root/build2/target-type
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
commit4e665067ff264c55086fdfb776a95b0fbb4d432c (patch)
tree2371403561c0a3d754792f68d2515cae71dff565 /build2/target-type
parent00ed965e4a29f66666d2bf4372d2d6919c29664e (diff)
<types>/<utility> scheme cleanup
Diffstat (limited to 'build2/target-type')
-rw-r--r--build2/target-type6
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/target-type b/build2/target-type
index 2659e3d..de210e1 100644
--- a/build2/target-type
+++ b/build2/target-type
@@ -6,8 +6,6 @@
#define BUILD2_TARGET_TYPE
#include <map>
-#include <string>
-#include <ostream>
#include <build2/types>
#include <build2/utility>
@@ -63,8 +61,8 @@ namespace build2
inline bool
operator!= (const target_type& x, const target_type& y) {return &x != &y;}
- inline std::ostream&
- operator<< (std::ostream& os, const target_type& tt) {return os << tt.name;}
+ inline ostream&
+ operator<< (ostream& os, const target_type& tt) {return os << tt.name;}
// Target type map.
//