mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2026-01-04 17:21:07 +07:00
fix xcode 13.4.1 compilation
This commit is contained in:
@@ -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_; }
|
||||
|
||||
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user