Skip to content

Commit

Permalink
Merge pull request #351 from rasolca/patch-1
Browse files Browse the repository at this point in the history
Fix gcc12 and gcc13 warning.
  • Loading branch information
nmm0 authored Jun 27, 2024
2 parents 51779cc + 152f192 commit 08cc851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/libcxx-backports/mdspan/CustomTestAccessors.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct move_counted_handle {
constexpr move_counted_handle(const move_counted_handle&) = default;
template <class OtherT>
requires(std::is_constructible_v<T*, OtherT*>)
constexpr move_counted_handle(const move_counted_handle<OtherT>& other) : ptr(other.ptr){};
constexpr move_counted_handle(const move_counted_handle<OtherT>& other) : ptr(other.ptr){}
constexpr move_counted_handle(move_counted_handle&& other) {
ptr = other.ptr;
#if MDSPAN_HAS_CXX_23
Expand Down

0 comments on commit 08cc851

Please sign in to comment.