diff options
Diffstat (limited to 'libcxx/src/experimental/filesystem/filesystem_common.h')
-rw-r--r-- | libcxx/src/experimental/filesystem/filesystem_common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/src/experimental/filesystem/filesystem_common.h b/libcxx/src/experimental/filesystem/filesystem_common.h index 0dd6e9ee438..18742830924 100644 --- a/libcxx/src/experimental/filesystem/filesystem_common.h +++ b/libcxx/src/experimental/filesystem/filesystem_common.h @@ -94,18 +94,18 @@ using namespace chrono; template <class FileTimeT, bool IsFloat = is_floating_point<typename FileTimeT::rep>::value> struct fs_time_util_base { - static constexpr auto max_seconds = + static constexpr seconds::rep max_seconds = duration_cast<seconds>(FileTimeT::duration::max()).count(); - static constexpr auto max_nsec = + static constexpr nanoseconds::rep max_nsec = duration_cast<nanoseconds>(FileTimeT::duration::max() - seconds(max_seconds)) .count(); - static constexpr auto min_seconds = + static constexpr seconds::rep min_seconds = duration_cast<seconds>(FileTimeT::duration::min()).count(); - static constexpr auto min_nsec_timespec = + static constexpr nanoseconds::rep min_nsec_timespec = duration_cast<nanoseconds>( (FileTimeT::duration::min() - seconds(min_seconds)) + seconds(1)) .count(); |