From 753a0dd5321a38de54442109e7fcf1b8e8fb9010 Mon Sep 17 00:00:00 2001 From: Jake Hemstad Date: Thu, 19 Nov 2020 08:46:33 -0600 Subject: [PATCH] Use auto return type to silence return conversion warning. --- .../utilities/time/time.hms/time.hms.members/seconds.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp b/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp index 20f7aef5d1..e964800047 100644 --- a/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp +++ b/.upstream-tests/test/std/utilities/time/time.hms/time.hms.members/seconds.pass.cpp @@ -22,7 +22,7 @@ template __host__ __device__ -constexpr long check_seconds(Duration d) +constexpr auto check_seconds(Duration d) { using HMS = cuda::std::chrono::hh_mm_ss; ASSERT_SAME_TYPE(cuda::std::chrono::seconds, decltype(cuda::std::declval().seconds()));