aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target-state.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target-state.hxx')
-rw-r--r--libbuild2/target-state.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/target-state.hxx b/libbuild2/target-state.hxx
index 3457b13..48d683d 100644
--- a/libbuild2/target-state.hxx
+++ b/libbuild2/target-state.hxx
@@ -18,9 +18,11 @@ namespace build2
// Note that postponed is "greater" than unchanged since it may result in
// the changed state.
//
+ // Note also that value 0 is available to indicate absent/invalid state.
+ //
enum class target_state: uint8_t
{
- unknown,
+ unknown = 1,
unchanged,
postponed,
busy,