Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Use explicit form of common_type_t to work around CUDA 10.1 nvcc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt authored and griwes committed Nov 26, 2020
1 parent 753a0dd commit e558423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -3096,7 +3096,7 @@ class hh_mm_ss
{
private:
static_assert(__is_duration<_Duration>::value, "template parameter of hh_mm_ss must be a std::chrono::duration");
using __CommonType = common_type_t<_Duration, chrono::seconds>;
using __CommonType = typename common_type<_Duration, chrono::seconds>::type;

_LIBCUDACXX_INLINE_VISIBILITY
static constexpr uint64_t __pow10(unsigned __exp)
Expand Down

0 comments on commit e558423

Please sign in to comment.