mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
fix clang-tidy
This commit is contained in:
parent
1f10246a10
commit
857b8f0b1d
@ -156,14 +156,14 @@ struct ColumnFixedString::less
|
||||
{
|
||||
Cmp<true> cmp;
|
||||
explicit less(const ColumnFixedString & parent_) : cmp(parent_) {}
|
||||
int operator()(size_t lhs, size_t rhs) { return cmp(lhs, rhs) < 0; }
|
||||
int operator()(size_t lhs, size_t rhs) const { return cmp(lhs, rhs) < 0; }
|
||||
};
|
||||
|
||||
struct ColumnFixedString::greater
|
||||
{
|
||||
Cmp<true> cmp;
|
||||
explicit greater(const ColumnFixedString & parent_) : cmp(parent_) {}
|
||||
int operator()(size_t lhs, size_t rhs) { return cmp(lhs, rhs) > 0; }
|
||||
int operator()(size_t lhs, size_t rhs) const { return cmp(lhs, rhs) > 0; }
|
||||
};
|
||||
|
||||
void ColumnFixedString::getPermutation(bool reverse, size_t limit, int /*nan_direction_hint*/, Permutation & res) const
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <Columns/IColumn.h>
|
||||
#include <Common/PODArray.h>
|
||||
#include <common/sort.h>
|
||||
#include <base/sort.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace DB
|
||||
|
Loading…
Reference in New Issue
Block a user