aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-08-20 14:54:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-08-20 14:54:36 +0300
commit979cc6a6740f0174570923f2d968207b8eb1e16c (patch)
treea7206f62041c7e21505cefb9418d247ffc4ea893
parentae8852112ff74ba984145371863a9a2f3b3df54a (diff)
Adapt to new process::try_wait() function signature
-rw-r--r--bbot/agent/machine.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/agent/machine.cxx b/bbot/agent/machine.cxx
index a1fe9bb..af007ae 100644
--- a/bbot/agent/machine.cxx
+++ b/bbot/agent/machine.cxx
@@ -405,7 +405,7 @@ namespace bbot
tracer trace ("kvm_machine::wait");
bool t;
- for (; !(t = proc.try_wait ()) && sec != 0; --sec)
+ for (; !(t = proc.try_wait ().has_value ()) && sec != 0; --sec)
sleep (1);
if (t)