aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 26bb135..2af389d 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1463,6 +1463,11 @@ namespace build2
bool
newer (timestamp) const;
+ // As above but for cases where the state is already queried.
+ //
+ bool
+ newer (timestamp, target_state) const;
+
public:
static const target_type static_type;