Skip to content

Commit

Permalink
[pre-commit.ci] auto code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 16, 2023
1 parent bb857d8 commit d823021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions include/cuco/pair.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ struct alignas(detail::pair_alignment<First, Second>()) pair {
*/
template <typename T, std::enable_if_t<detail::is_std_pair_like<T>::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))}
{
}

Expand Down
3 changes: 2 additions & 1 deletion include/cuco/static_map_ref.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ class static_map_ref
* @return `*this` with `NewOperators...`
*/
template <typename... NewOperators>
[[nodiscard]] __host__ __device__ auto with(NewOperators...) && noexcept {
[[nodiscard]] __host__ __device__ auto with(NewOperators...) && noexcept
{
return static_map_ref<Key, T, Scope, KeyEqual, ProbingScheme, StorageRef, NewOperators...>(
std::move(*this));
}
Expand Down

0 comments on commit d823021

Please sign in to comment.