summaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorkoloshmet <[email protected]>2025-10-21 17:15:40 +0300
committerkoloshmet <[email protected]>2025-10-21 18:30:57 +0300
commitb5bad9b2b77fb892ab8d8ceaec0221ab7b401dc2 (patch)
tree4c5755d71eb9d249eeb8dee23044f6af1bcedb68 /library/cpp
parent2e383b764b832fe83a9994c55677504ad934aeb6 (diff)
YT-18571: Fixed range construction from span
Fixed range construction from span commit_hash:a7b4b66073a1d5ea79abc304966494b1e9543919
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/yt/memory/range.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/memory/range.h b/library/cpp/yt/memory/range.h
index 84ea2e77586..deabd6b15bd 100644
--- a/library/cpp/yt/memory/range.h
+++ b/library/cpp/yt/memory/range.h
@@ -100,7 +100,7 @@ public:
{ }
//! Constructs a TRange from an std::span.
- TRange(const std::span<T>& elements)
+ TRange(std::span<const T> elements)
: Data_(elements.data())
, Length_(elements.size())
{ }