aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-24 16:39:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-24 16:39:55 +0200
commit1d6e68fda762535fa8508f94ca254a79f293edb2 (patch)
tree7b97edd9f1786cd610c1f41e720d2b105dd87cbc /build/target.cxx
parentbb4f9e6498ba715911f83e0dc221a5b1b86baf51 (diff)
Add support for generated test input/output
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/target.cxx b/build/target.cxx
index f6fc5c8..df7e2aa 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -32,12 +32,12 @@ namespace build
// target_state
//
static const char* target_state_[] = {
- "group", "unknown", "postponed", "unchanged", "changed", "failed"};
+ "unknown", "unchanged", "changed", "postponed", "failed", "group"};
ostream&
operator<< (ostream& os, target_state ts)
{
- return os << target_state_[static_cast<size_t> (ts)];
+ return os << target_state_[static_cast<uint8_t> (ts)];
}
// recipe