aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/timeout.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/script/timeout.ixx')
-rw-r--r--libbuild2/script/timeout.ixx7
1 files changed, 5 insertions, 2 deletions
diff --git a/libbuild2/script/timeout.ixx b/libbuild2/script/timeout.ixx
index 755af17..e31ed07 100644
--- a/libbuild2/script/timeout.ixx
+++ b/libbuild2/script/timeout.ixx
@@ -4,9 +4,12 @@
namespace build2
{
inline optional<timestamp>
- parse_deadline (const string& s, const char* what, const location& l)
+ parse_deadline (const string& s,
+ const char* what,
+ const char* prefix,
+ const location& l)
{
- if (optional<duration> t = parse_timeout (s, what, l))
+ if (optional<duration> t = parse_timeout (s, what, prefix, l))
return system_clock::now () + *t;
else
return nullopt;