summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/core
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-23 17:26:48 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-23 17:26:48 +0100
commitdf4ec096491ded6d58b9ee094d6942e3188c2d4a (patch)
treea2f60be1865adef69cdbb326080a1b2763a5ce79 /dev/lib/core
parent58dc03a47576601006c4870d1633bf35fc78176a (diff)
fix: lib: `visit` may now throw exceptions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/core')
-rw-r--r--dev/lib/core/chunk_string.hpp2
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();