diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2022-07-14 18:50:02 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-07-14 18:50:02 +0000 |
commit | 1f917f69ff07f09b6dbb670971f57f8efe718b84 (patch) | |
tree | 99293cbc1411737cd995dac10a99b2c40ef0944c /libcxx/include/__chrono/time_point.h | |
parent | 145449b1e420787bb99721a429341fa6be3adfb6 (diff) |
Diffstat (limited to 'libcxx/include/__chrono/time_point.h')
-rw-r--r-- | libcxx/include/__chrono/time_point.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__chrono/time_point.h b/libcxx/include/__chrono/time_point.h index ac2d347a0dca..63d67d77dd05 100644 --- a/libcxx/include/__chrono/time_point.h +++ b/libcxx/include/__chrono/time_point.h @@ -47,12 +47,12 @@ public: // conversions template <class _Duration2> _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR_AFTER_CXX11 - time_point(const time_point<clock, _Duration2>& t, + time_point(const time_point<clock, _Duration2>& __t, typename enable_if < is_convertible<_Duration2, duration>::value >::type* = nullptr) - : __d_(t.time_since_epoch()) {} + : __d_(__t.time_since_epoch()) {} // observer |