File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ class ColumnMapT : public ColumnMap {
126
126
: data_iterator_(data_iterator) {}
127
127
128
128
using ValueType = std::pair<Key, Value>;
129
+ using value_type = ValueType;
129
130
130
131
inline auto operator *() const {
131
132
auto tuple = *data_iterator_;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class ColumnTupleT : public ColumnTuple {
119
119
120
120
private:
121
121
template <typename T, size_t index = std::tuple_size_v<T>>
122
- inline static std::vector<ColumnRef> TupleToVector (const T& value) {
122
+ inline static std::vector<ColumnRef> TupleToVector ([[maybe_unused]] const T& value) {
123
123
static_assert (index <= std::tuple_size_v<T>);
124
124
if constexpr (index == 0 ) {
125
125
std::vector<ColumnRef> result;
@@ -133,7 +133,7 @@ class ColumnTupleT : public ColumnTuple {
133
133
}
134
134
135
135
template <typename T, size_t column_index = std::tuple_size_v<TupleOfColumns>>
136
- inline static auto VectorToTuple (T columns) {
136
+ inline static auto VectorToTuple ([[maybe_unused]] T columns) {
137
137
static_assert (column_index <= std::tuple_size_v<TupleOfColumns>);
138
138
if constexpr (column_index == 0 ) {
139
139
return std::make_tuple ();
@@ -147,7 +147,7 @@ class ColumnTupleT : public ColumnTuple {
147
147
}
148
148
149
149
template <size_t column_index = std::tuple_size_v<TupleOfColumns>>
150
- inline auto GetTupleOfValues (size_t index) const {
150
+ inline auto GetTupleOfValues ([[maybe_unused]] size_t index) const {
151
151
static_assert (column_index <= std::tuple_size_v<TupleOfColumns>);
152
152
if constexpr (column_index == 0 ) {
153
153
return std::make_tuple ();
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ inline const char * getPrefix() {
77
77
}
78
78
79
79
template <typename T, size_t index = std::tuple_size_v<T> >
80
- inline std::ostream & printTuple (std::ostream & ostr, const T & t) {
80
+ inline std::ostream & printTuple (std::ostream & ostr, [[maybe_unused]] const T & t) {
81
81
static_assert (index <= std::tuple_size_v<T>);
82
82
if constexpr (index == 0 ) {
83
83
return ostr << " ( " ;
You can’t perform that action at this time.
0 commit comments