From 3059bd4c6607e3afe63d7ca8e28cfc371a996114 Mon Sep 17 00:00:00 2001 From: hashlag Date: Sat, 7 Feb 2026 17:54:37 +0300 Subject: [PATCH] Make SeArray::Size() static. --- Chaos/Service/SeArray.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Chaos/Service/SeArray.hpp b/Chaos/Service/SeArray.hpp index be4932b..959924f 100644 --- a/Chaos/Service/SeArray.hpp +++ b/Chaos/Service/SeArray.hpp @@ -58,11 +58,6 @@ public: return Storage_.data() + Storage_.size(); } - constexpr size_t Size() const noexcept - { - return Storage_.size(); - } - void Fill(const T & value) { Storage_.fill(value); @@ -73,6 +68,11 @@ public: EraseImpl(); } + static constexpr size_t Size() noexcept + { + return S; + } + private: std::array Storage_;