Skip to content

Commit

Permalink
[shortfin] NFC change that makes compilation succeed on clang-14. (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
stellaraccident authored Nov 9, 2024
1 parent b36ddf7 commit 4e6b64f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions shortfin/src/shortfin/array/storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ class typed_mapping {
span_type span() { return span_type(data(), size()); }
const_span_type span() const { return const_span_type(data(), size()); }

span_type::iterator begin() { return span().begin(); }
span_type::iterator end() { return span().end(); }
typename span_type::iterator begin() { return span().begin(); }
typename span_type::iterator end() { return span().end(); }

const_span_type::iterator begin() const { return span().begin(); }
const_span_type::iterator end() const { return span().end(); }
typename const_span_type::iterator begin() const { return span().begin(); }
typename const_span_type::iterator end() const { return span().end(); }

const_span_type::iterator cbegin() const { return span().begin(); }
const_span_type::iterator cend() const { return span().end(); }
typename const_span_type::iterator cbegin() const { return span().begin(); }
typename const_span_type::iterator cend() const { return span().end(); }

private:
mapping untyped_mapping_;
Expand Down

0 comments on commit 4e6b64f

Please sign in to comment.