diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-29 00:03:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-29 00:03:54 +0300 |
commit | b56e7cd12b30fbb891e1947fb3a0eef06dc7ab89 (patch) | |
tree | 79eb344e27e119f1f04e9f723c9c10bc87446dbc /libbutl/timestamp.cxx | |
parent | a475a20e726250eca0a24ab26626a52fbc058b6a (diff) |
Use system_clock instead of timestamp::clock
Diffstat (limited to 'libbutl/timestamp.cxx')
-rw-r--r-- | libbutl/timestamp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/timestamp.cxx b/libbutl/timestamp.cxx index eb4b5ce..b712b0c 100644 --- a/libbutl/timestamp.cxx +++ b/libbutl/timestamp.cxx @@ -631,7 +631,7 @@ namespace butl if (time == -1) throw_generic_error (errno); - return timestamp::clock::from_time_t (time) + + return system_clock::from_time_t (time) + chrono::duration_cast<duration> (t.second); } } |