diff options
author | babenko <babenko@yandex-team.com> | 2024-07-22 12:15:57 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2024-07-22 12:28:39 +0300 |
commit | 942d2ca60b764e6bd7dff28a3ef04fefacbd576d (patch) | |
tree | 4f72c54295979eddd5ea4cb6b5845fe52326f1f1 /library/cpp/yt/memory | |
parent | b28ebe1bef50f23bcb3bffac9964e77f13a0058d (diff) | |
download | ydb-942d2ca60b764e6bd7dff28a3ef04fefacbd576d.tar.gz |
Fix TRange-from-std::vector ctor
2b4749cade5242ec10775c7819c790735f7484b7
Diffstat (limited to 'library/cpp/yt/memory')
-rw-r--r-- | library/cpp/yt/memory/range.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/yt/memory/range.h b/library/cpp/yt/memory/range.h index 10f2ea43ec..7a9c0bcd79 100644 --- a/library/cpp/yt/memory/range.h +++ b/library/cpp/yt/memory/range.h @@ -87,7 +87,7 @@ public: //! Constructs a TRange from an std::vector. template <class A> TRange(const std::vector<T, A>& elements) - : Data_(elements.empty() ? nullptr : elements.data()) + : Data_(elements.data()) , Length_(elements.size()) { } |