Skip to content

Commit

Permalink
fix xcode 13.4.1 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackMATov committed Feb 11, 2024
1 parent 93c8fc9 commit f228e92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions develop/singles/headers/meta.hpp/meta_all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,9 @@ namespace meta_hpp::detail

// clang-format off

[[nodiscard]] T* data() noexcept { return begin_; }
[[nodiscard]] const T* data() const noexcept { return begin_; }

[[nodiscard]] T* begin() noexcept { return begin_; }
[[nodiscard]] const T* begin() const noexcept { return begin_; }
[[nodiscard]] const T* cbegin() const noexcept { return begin_; }
Expand Down
3 changes: 3 additions & 0 deletions headers/meta.hpp/meta_base/inline_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace meta_hpp::detail

// clang-format off

[[nodiscard]] T* data() noexcept { return begin_; }
[[nodiscard]] const T* data() const noexcept { return begin_; }

[[nodiscard]] T* begin() noexcept { return begin_; }
[[nodiscard]] const T* begin() const noexcept { return begin_; }
[[nodiscard]] const T* cbegin() const noexcept { return begin_; }
Expand Down

0 comments on commit f228e92

Please sign in to comment.