Skip to content

Commit

Permalink
fix: fix #1520
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN authored May 1, 2024
1 parent 863c38b commit 6130f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mc/deps/core/mce/Blob.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ class Blob {
std::copy(s.begin(), s.end(), mBlob.get());
}

[[nodiscard]] constexpr pointer data() const { return mBlob.get(); }
[[nodiscard]] _CONSTEXPR23 pointer data() const { return mBlob.get(); }

[[nodiscard]] constexpr size_type size() const { return mSize; }
[[nodiscard]] _CONSTEXPR23 size_type size() const { return mSize; }

[[nodiscard]] constexpr std::span<uchar> view() const { return {data(), size()}; }
[[nodiscard]] _CONSTEXPR23 std::span<uchar> view() const { return {data(), size()}; }

LL_CLANG_CEXPR Blob& operator=(Blob&&) noexcept = default;
[[nodiscard]] _CONSTEXPR23 Blob(Blob&&) noexcept = default;
Expand Down

0 comments on commit 6130f8a

Please sign in to comment.