aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index c3c03d7..5fa3c37 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -79,10 +79,10 @@ namespace build2
"group"
};
- ostream&
- operator<< (ostream& os, target_state ts)
+ string
+ to_string (target_state ts)
{
- return os << target_state_[static_cast<uint8_t> (ts)];
+ return target_state_[static_cast<uint8_t> (ts)];
}
// target