Skip to content

Commit 8c8c7a6

Browse files
committed
fix
1 parent 9cdb643 commit 8c8c7a6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

clickhouse/columns/map.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ class ColumnMapT : public ColumnMap {
126126
: data_iterator_(data_iterator) {}
127127

128128
using ValueType = std::pair<Key, Value>;
129+
using difference_type = size_t;
129130
using value_type = ValueType;
131+
using pointer = void;
132+
using reference = ValueType&;
133+
using iterator_category = std::forward_iterator_tag;
130134

131135
inline auto operator*() const {
132136
auto tuple = *data_iterator_;

clickhouse/columns/tuple.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ColumnTupleT : public ColumnTuple {
7373
inline ValueType operator[](size_t index) const { return GetTupleOfValues(index); }
7474

7575
template <typename T, size_t index = std::tuple_size_v<T>>
76-
inline void Append(T value) {
76+
inline void Append([[maybe_unused]] T value) {
7777
static_assert(index <= std::tuple_size_v<T>);
7878
static_assert(std::tuple_size_v<TupleOfColumns> == std::tuple_size_v<T>);
7979
if constexpr (index == 0) {

0 commit comments

Comments
 (0)