diff options
| author | Alexander Smirnov <[email protected]> | 2024-04-16 09:11:59 +0000 | 
|---|---|---|
| committer | Alexander Smirnov <[email protected]> | 2024-04-16 09:11:59 +0000 | 
| commit | 25de1d521ca218e2b040739fea77a39e9fc543e9 (patch) | |
| tree | 21521d8866cf1462dbd52c071cf369974c29650e /library/cpp/clickhouse/client/columns/utils.h | |
| parent | bf444b8ed4d0f6bf17fd753e2cf88f9440012e87 (diff) | |
| parent | 0a63d9ddc516f206f2b8745ce5e5dfa60190d755 (diff) | |
Merge branch 'rightlib' into mergelibs-240416-0910
Diffstat (limited to 'library/cpp/clickhouse/client/columns/utils.h')
| -rw-r--r-- | library/cpp/clickhouse/client/columns/utils.h | 19 | 
1 files changed, 0 insertions, 19 deletions
| diff --git a/library/cpp/clickhouse/client/columns/utils.h b/library/cpp/clickhouse/client/columns/utils.h deleted file mode 100644 index fc43828c63c..00000000000 --- a/library/cpp/clickhouse/client/columns/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include <algorithm> -#include <util/generic/vector.h> - -namespace NClickHouse { -    template <typename T> -    TVector<T> SliceVector(const TVector<T>& vec, size_t begin, size_t len) { -        TVector<T> result; - -        if (begin < vec.size()) { -            len = std::min(len, vec.size() - begin); -            result.assign(vec.begin() + begin, vec.begin() + (begin + len)); -        } - -        return result; -    } - -} | 
