Skip to content

Commit

Permalink
Hidden friends need not be private
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Nov 9, 2023
1 parent 6a403e0 commit c9cd9fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/rmm/cuda_device.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ struct cuda_device_id {
/// @briefreturn{The wrapped integer value}
[[nodiscard]] constexpr value_type value() const noexcept { return id_; }

private:
value_type id_;

/**
* @brief Compare two `cuda_device_id`s for equality.
*
Expand All @@ -71,6 +68,9 @@ struct cuda_device_id {
{
return lhs.value() != rhs.value();
}

private:
value_type id_;
};

/**
Expand Down

0 comments on commit c9cd9fb

Please sign in to comment.