diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 00:42:50 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 00:42:50 -0500 |
| commit | e6579534e7c64be652ffeb74be7c977564a3ddab (patch) | |
| tree | 69b908f5b2d81f477d3cfe39ecc6c01fbdc89657 /include/ocl/core/chunk_string.hpp | |
| parent | a8e99f3a783069cf85b626c6cfb2fbe83ae4fd44 (diff) | |
chore & feat: final library changes to stabilize changes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/core/chunk_string.hpp')
| -rw-r--r-- | include/ocl/core/chunk_string.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ocl/core/chunk_string.hpp b/include/ocl/core/chunk_string.hpp index 17d81bd..a2380f6 100644 --- a/include/ocl/core/chunk_string.hpp +++ b/include/ocl/core/chunk_string.hpp @@ -24,7 +24,7 @@ namespace ocl using condition_type = bool; private: - char_type packed_chunks_[max_chunk_size] = {0}; + char_type chunk_[max_chunk_size] = {0}; std::size_t chunk_total_{}; condition_type bad_{false}; @@ -84,7 +84,7 @@ namespace ocl if (chunk_total_ < size_max_chunk) { - std::memcpy(packed_chunks_ + chunk_total_, ptr, sz); + std::memcpy(chunk_ + chunk_total_, ptr, sz); chunk_total_ += sz; } @@ -102,14 +102,14 @@ namespace ocl else return ret; - ret = packed_chunks_; + ret = chunk_; return ret; } void print() noexcept { - ocl::io::print(packed_chunks_); + ocl::io::print(chunk_); } }; |
