Skip to content

Commit

Permalink
Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Dec 23, 2023
1 parent 3e840f9 commit 3e4cbd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion far/common/span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ template<class span_value_type>
class [[nodiscard]] span: public std::span<span_value_type>
{
using base_span = std::span<span_value_type>;
using base_span::span;
// Can't use base_span alias here, Clang isn't smart enough.
using std::span<span_value_type>::span;

public:
template<std::ranges::contiguous_range SpanLike> requires requires { base_span(std::declval<SpanLike&>()); }
Expand Down

0 comments on commit 3e4cbd5

Please sign in to comment.