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

Commit

Permalink
Use auto return type to silence return conversion warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad authored and griwes committed Nov 20, 2020
1 parent d127fc4 commit 7447908
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

template <typename Duration>
__host__ __device__
constexpr long check_subseconds(Duration d)
constexpr auto check_subseconds(Duration d)
{
using HMS = cuda::std::chrono::hh_mm_ss<Duration>;
ASSERT_SAME_TYPE(typename HMS::precision, decltype(cuda::std::declval<HMS>().subseconds()));
Expand Down

0 comments on commit 7447908

Please sign in to comment.