From 86976145b21f4d20ce6bc86b4fcc208807ca1656 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 26 May 2022 04:03:11 +0000 Subject: [PATCH] [pre-commit.ci] auto code formatting --- include/cuco/detail/dynamic_map.inl | 9 +++++---- include/cuco/static_multimap.cuh | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/include/cuco/detail/dynamic_map.inl b/include/cuco/detail/dynamic_map.inl index acd6ccac2..27bd3d178 100644 --- a/include/cuco/detail/dynamic_map.inl +++ b/include/cuco/detail/dynamic_map.inl @@ -17,10 +17,11 @@ namespace cuco { template -dynamic_map::dynamic_map(std::size_t initial_capacity, - sentinel::empty_key empty_key_sentinel, - sentinel::empty_value empty_value_sentinel, - Allocator const& alloc) +dynamic_map::dynamic_map( + std::size_t initial_capacity, + sentinel::empty_key empty_key_sentinel, + sentinel::empty_value empty_value_sentinel, + Allocator const& alloc) : empty_key_sentinel_(empty_key_sentinel.value), empty_value_sentinel_(empty_value_sentinel.value), size_(0), diff --git a/include/cuco/static_multimap.cuh b/include/cuco/static_multimap.cuh index 6de4d2c48..84e1ba013 100644 --- a/include/cuco/static_multimap.cuh +++ b/include/cuco/static_multimap.cuh @@ -676,10 +676,11 @@ class static_multimap { * @param empty_value_sentinel The reserved value for mapped values to * represent empty slots */ - __host__ __device__ device_mutable_view(pair_atomic_type* slots, - std::size_t capacity, - sentinel::empty_key empty_key_sentinel, - sentinel::empty_value empty_value_sentinel) noexcept + __host__ __device__ + device_mutable_view(pair_atomic_type* slots, + std::size_t capacity, + sentinel::empty_key empty_key_sentinel, + sentinel::empty_value empty_value_sentinel) noexcept : view_base_type{slots, capacity, empty_key_sentinel.value, empty_value_sentinel.value} { }