diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-23 17:26:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-23 17:26:48 +0100 |
| commit | df4ec096491ded6d58b9ee094d6942e3188c2d4a (patch) | |
| tree | a2f60be1865adef69cdbb326080a1b2763a5ce79 /dev/lib/core/chunk_string.hpp | |
| parent | 58dc03a47576601006c4870d1633bf35fc78176a (diff) | |
fix: lib: `visit` may now throw exceptions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/core/chunk_string.hpp')
| -rw-r--r-- | dev/lib/core/chunk_string.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lib/core/chunk_string.hpp b/dev/lib/core/chunk_string.hpp index 0ecc73e..e32d030 100644 --- a/dev/lib/core/chunk_string.hpp +++ b/dev/lib/core/chunk_string.hpp @@ -94,7 +94,7 @@ namespace ocl std::basic_string<char_type> str() const noexcept { static std::basic_string<char_type> ret; - const auto& sz = ret.size(); + const auto& sz = ret.size(); if (chunk_total_ > sz) ret.clear(); |
