diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-28 21:55:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-28 21:55:20 +0300 |
commit | a475a20e726250eca0a24ab26626a52fbc058b6a (patch) | |
tree | 35be81b5732c2f464667650992d4889355bcad1d | |
parent | 892bbaa0efecaa182d30983e3717e19959a0f576 (diff) |
Use system_clock instead of timestamp::clock in process
-rw-r--r-- | libbutl/process.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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. |