From 2b72f87c6488dee0a5cc899ee753148b07c1b2e4 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Tue, 14 Oct 2025 00:53:51 +0300 Subject: [PATCH] fix --- src/util/span.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/span.hpp b/src/util/span.hpp index a9ab79b2..7c97f5ac 100644 --- a/src/util/span.hpp +++ b/src/util/span.hpp @@ -15,7 +15,7 @@ namespace util { const T& at(size_t index) const { if (index >= length) { - throw std::out_of_range(); + throw std::out_of_range("index is out of range"); } return ptr[index]; }