From b302b196b92541c3957ad644e597313b36f4e679 Mon Sep 17 00:00:00 2001 From: Wesley Maxey Date: Thu, 29 Jul 2021 11:02:55 -0700 Subject: [PATCH] Change a free double to ABI macro in chrono --- libcxx/include/chrono | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/include/chrono b/libcxx/include/chrono index 055b342098..231a72d978 100644 --- a/libcxx/include/chrono +++ b/libcxx/include/chrono @@ -3237,9 +3237,9 @@ inline namespace literals } _LIBCUDACXX_INLINE_VISIBILITY - constexpr chrono::duration operator""s(long double __s) + constexpr chrono::duration<_LIBCUDACXX_CHRONO_LITERAL_INTERNAL_T> operator""s(long double __s) { - return chrono::duration (__s); + return chrono::duration<_LIBCUDACXX_CHRONO_LITERAL_INTERNAL_T> (__s); } _LIBCUDACXX_INLINE_VISIBILITY