aboutsummaryrefslogtreecommitdiff
path: root/build2/version/module.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/module.hxx')
-rw-r--r--build2/version/module.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/build2/version/module.hxx b/build2/version/module.hxx
index 190d8d7..a5a667a 100644
--- a/build2/version/module.hxx
+++ b/build2/version/module.hxx
@@ -25,13 +25,19 @@ namespace build2
static const string name;
butl::standard_version version;
+ bool committed; // Whether this is a committed snapshot.
+
dependency_constraints dependencies;
const variable* in_symbol = nullptr; // in.symbol
const variable* in_substitution = nullptr; // in.substitution
- module (butl::standard_version v, dependency_constraints d)
- : version (move (v)), dependencies (move (d)) {}
+ module (butl::standard_version v,
+ bool c,
+ dependency_constraints d)
+ : version (move (v)),
+ committed (c),
+ dependencies (move (d)) {}
};
}
}