From a475a20e726250eca0a24ab26626a52fbc058b6a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 28 Aug 2017 21:55:20 +0300 Subject: Use system_clock instead of timestamp::clock in process --- libbutl/process.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/process.cxx') diff --git a/libbutl/process.cxx b/libbutl/process.cxx index d474b3a..e4ccf9e 100644 --- a/libbutl/process.cxx +++ b/libbutl/process.cxx @@ -1444,7 +1444,7 @@ namespace butl // still running then we assume all is good. Otherwise, retry if // this is the DLL initialization error. // - timestamp st (timestamp::clock::now ()); + timestamp st (system_clock::now ()); // Unlock the mutex to let other processes to be spawned while we are // waiting. We also need to revert handles to non-inheritable state @@ -1459,7 +1459,7 @@ namespace butl GetExitCodeProcess (pi.hProcess, &r) && r == STATUS_DLL_INIT_FAILED) { - timestamp now (timestamp::clock::now ()); + timestamp now (system_clock::now ()); // Assume we were waiting for 250 ms if the time adjustment is // detected. -- cgit v1.1