diff --git a/include/cuco/pair.cuh b/include/cuco/pair.cuh index 8aea9891e..1caaa24a2 100644 --- a/include/cuco/pair.cuh +++ b/include/cuco/pair.cuh @@ -87,8 +87,7 @@ struct alignas(detail::pair_alignment()) pair { */ template ::value>* = nullptr> __host__ __device__ constexpr pair(T const& p) - : pair{std::get<0>(thrust::raw_reference_cast(p)), - std::get<1>(thrust::raw_reference_cast(p))} + : pair{std::get<0>(thrust::raw_reference_cast(p)), std::get<1>(thrust::raw_reference_cast(p))} { } diff --git a/include/cuco/static_map_ref.cuh b/include/cuco/static_map_ref.cuh index 8afe43491..013aa38a1 100644 --- a/include/cuco/static_map_ref.cuh +++ b/include/cuco/static_map_ref.cuh @@ -174,7 +174,8 @@ class static_map_ref * @return `*this` with `NewOperators...` */ template - [[nodiscard]] __host__ __device__ auto with(NewOperators...) && noexcept { + [[nodiscard]] __host__ __device__ auto with(NewOperators...) && noexcept + { return static_map_ref( std::move(*this)); }