From 979cc6a6740f0174570923f2d968207b8eb1e16c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 20 Aug 2018 14:54:36 +0300 Subject: Adapt to new process::try_wait() function signature --- bbot/agent/machine.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bbot/agent/machine.cxx') 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) -- cgit v1.1